maxmantz / redux-oidc-example

Small ReactJS application to demonstrate the usage of redux-oidc
MIT License
108 stars 68 forks source link

Dynamically load the UserManagerSettings #21

Closed wdspider closed 5 years ago

wdspider commented 5 years ago

Hi,

I'm having trouble modifying the sample code so that it dynamically loads the UserManagerSettings out of an appconfig.json file located in the public folder of a create-react-app project. Would it be possible for you provide a sample on how to do this? My UserManagerSettings vary with each deployment and thus cannot be set at compile time.

Thanks.

maxmantz commented 5 years ago

No, that would be beyond the scope of this project. Please refer to the create-react-app documentation or ask for help there on how to dynamically load parameters.