maxmantz/redux-oidc

Passing runtime configuration to UserManager

Jaganprafful opened this issue · 1 comments

Here is my scenario I am hosting my .net API application with React client-app and making data calls to .net core API In order to do this I am running npm run build and moving the bundle to API folder

Is there any way to pass runtime configuration for userManager.js after running the npm run build? changing the identity provider values externally and passing the values down to userManager to authenticate against the new identity provider values

@maxmantz Is there a way to load the sso configurations from API call response in the UserManagerSettings. (issuer url, client id, client secret). The api call function is waiting to load the confg. Already got strugged for 2 days. Any help would be appreciated.