Dynamic callback URL

Hi there, hopefully someone can help point me in the right direction.

I am in the process of setting up a new Auth0 integration that is an SPA using react. I have the local dev environment working well as that is a static address, however the challenge that I have is with our QA envs.

When we create a pull request for a unit of work, our QA system spins up a new environment on a new url like this: https://application.PULL-REQUEST-NUMBER.qa-url.com

Is there any way that I can set up so that callback urls work, as adding them every time an environment is created is not really going to work (as we often spin up several a day).

Cheers,

Simon

Hi @BearAndBox,

You may be able to automate this with the Management API. Otherwise you would need to use wildcards which are not supported and generally a Bad Idea.

Ref: How come "Allowed Web Origins" does not allow wildcards? - #26 by nicolas_sabena

Cheers,
Mark

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.