Add API Endpoint for Dynamic Configuration Updates in localauth0.toml
Thank you for this project.
Description
The project currently uses localauth0.toml to configure tokens or responses. This static configuration file can contain custom claims, which are included in the generated tokens. However, there is no way to dynamically update this configuration to test different scenarios, such as generating tokens without certain claims for fail condition testing.
Problem
To effectively use this project in unit testing, the ability to generate tokens with various configurations on-the-fly is needed. For example, an application may require custom claims like user_email. Currently, once this claim is configured in localauth0.toml, it cannot be easily excluded or modified for testing different conditions, including negative test cases.
Hello @sahroshan,
Thank you reporting and using Localauth0!
We already have an open issue #27 and we'll take care of this as soon as possible
Ehi @sahroshan , today we merged this PR. Before the actual release would you like to be our beta tester for this change?
@cottinisimone Thanks for the changes. permissions api is working fine. But could not find any documentation about the custom claims.
Can you please add custom claims documentation also.
@cottinisimone may be publishing to https://testcontainers.com/modules/ would help this project.