I have a single Okta dev instance. I configured one front-end application to use it during local development @localhost:9000 and it worked great!
Now I’m trying to set up a second front-end application @localhost:4000. I have them both configured to allow CORS and both Applications are configured for the implicit flow with the correct redirect_uris listed in the Applications section.
I’m using @okta/okta-react to handle the auth flow for both applications, but once I added the second localhost:PORT combo, I’m getting the same error for both during the auth flow (after successful redirect):
Failed to load https://dev-944177.oktapreview.com/oauth2/v1/keys: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4000' is therefore not allowed access. 15:34:16.702
Any help is appreciated!