react-oidc-context icon indicating copy to clipboard operation
react-oidc-context copied to clipboard

Apply different configuration values at run-time

Open kodeschooler opened this issue 3 years ago • 1 comments

Using this context, how would one go about changing the acr_values in the settings object after someone is authenticated? For example, when an admin user selects a different customer from a list, I'd like to set the acr_values param in the config object to the tenant selected. It seems that it's designed so you set up the configuration once and that's it. Is there a mechanism for updating any of the settings after UserManager has been set up in the App component?

kodeschooler avatar Sep 02 '22 18:09 kodeschooler

You made 2 issues for the same. See answer here https://github.com/authts/oidc-client-ts/issues/666

pamapa avatar Sep 05 '22 06:09 pamapa