How to use wildcard or organization_name to match allowed logout urls

We’re currently getting a failure when we log out of our apps because the redirect url doesn’t match an allowed login url. How can I update the allowed login urls to match our urls?

  • Our app url is in the form https://{organization_name}.{environment_name}.trueprodigyapps.com. Example: https://travis.dev.trueprodigyapps.com.
  • We have about 40 organizations and 3 environments, so that’s 120 urls that we’d need to enter manually if we can’t find some kind of a shortcut.
  • We have https://*.trueprodigyapps.com as one of the allowed logout urls, but that doesn’t seem to match our domain urls, presumably because we use 2 subdomains.
  • I tried entering https://{organization_name}.dev.trueprodigyapps.com but that threw an “invalid url” error.

How can I make this work?

Hi @capndave,

You can check if your application meets all the conditions for the {organization_name} wildcard in the docs below:

After that, you should be able to have 3 URLs, one for each environment.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad