SPA usage with multiple subdirectories on same origin

I want to use Okta Authentication with multiple SPA’s (Single Page Application) on different subdirectories on same origin.

Like:

https://webapp.com/client-1

https://webapp.com/client-2

How can this be possible?

Hello,

You can configure your okta-auth-js instance for each application to use a different storage key,

Also setting storage to session should only make what is stored available to a specific browser tab,

I have never tested something like this however.
Might check the below link (specifically about re-write URLs),

3 Likes