Dynamic configuration for AuthModule

I have followed the Auth0 Angular SDK quick start here.
Due to the current setup of our application, we need to use dynamic external configuration to support multiple environments. However since Angular loads the module (AuthModule.forRoot()) first before the configuration, the configuration renders undefined. I need to be able to use AppConfig as the configuration for AuthModule just like this:

     domain: AppSettings.domain,
     clientId: AppSettings.clientId,

Hey there!

To handle that most effectively you should open a GitHub issue in the quickstart repo here so that you can work on it directly with the quickstart maintainers. Once you have it please make sure to share the link with us so we can potentially ping them. Thank you!

I have opened a GitHub issue here:

1 Like

Perfect! I’ll ping repo maintainers shortly!