We are building a framework to build applications. Once an application is built, developers can self host the application to the domain of their liking.
We are also providing the authentication part. To do that, we have an auth0 application that handles the authentication for all of the deployed apps with our framework.
The thing is we need to manually add the redirect_uri and allowed origin to include the domain name every time an app is deployed to a new domain.
What I would like to do is to create these entries programmatically when a developer creates a project on my server.
I saw different interesting concepts in the doc such as organizations and dynamic applications but I am unsure if they are a good fit for that use case.
What is the correct way to implement that?