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.


How can this be possible?


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),