Sharing one Okta app across multiple services in local environment

I have following problem. My company deals with 100+ services. All of them are sharing the same domain, but different sub domains. Configuring one Okta application for all of them is not a problem (we just use wildcard redirect urls). Everything works well in production and in lower environments, where we use proper company domain.
However, I’m struggling to find a solution for local development, since all services running on a different port for localhost. It seems like port can’t we wildcard-ed, nor entire host address.
Creating 100+ okta apps that would facilitate local development is not an option.

Currently Okta app integration is configured to use:
Sign-in method: OIDC
Application type: SPA

What would be the best course of action in this situation?
I would really want to keep environments as close as possible.

Thank you

Hi @oorobets

As far as Okta is concerned, wildcard can be used only for subdomain. However you could add redirect uris of all your locally run applications in a single Okta application (no need for 100+ Okta apps).
Alternatively you could configure local hosts file along with something like nginx to take care of subdomain list which routes to your locally hosted services. Then you can just use wildcard redirect uris

hope this helps.

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