Proper setup for a sub-application

Hi all,

we have a main angular application with auth0 setup. Inside main application lives another sub-application which is imported as a npm module. Sub-application has also a standalone deployable version for development and testing purposes.

Since standalone version must have its own way of authentication and sub-application has different roles with different permissions, we have created another auth0 client for sub-application but currently not making use of it yet. Therefore sub-app is using same auth0 client as main-app does.

According to current setup of integrated applications, accessToken set by main app and read by sub-app to be able to add into request headers. Now we are planning to use its own client credentials for sub-application. To do that we also need to add new key-value pairs into localStorage (maybe adding prefixes into existing ones in sub-app config) so that they won’t conflict.

At this point I would like to ask if this is a ideal and proper setup for such a sub-application. I am open any suggestions. Thank you in advance.

Hey @ayberk.akici

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

This topic was automatically closed after 6 days. New replies are no longer allowed.