maxmantz / redux-oidc

A package for managing OpenID Connect authentication in ReactJS / Redux apps
MIT License
400 stars 112 forks source link

Passing runtime configuration to UserManager #182

Open Jaganprafful opened 3 years ago

Jaganprafful commented 3 years ago

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

anto-pt commented 3 years ago

@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.