Open GordonBlahut opened 3 years ago
Yes, I can see the point in this. What you would want is to expose the actual instance of the UserManager that is used by this package, right?
If you want to only do things like setting log level this can be done by importing UserManager from oidc-client.
That's right. My understanding is that it's better not to have multiple UserManager instances at the same time so it would be ideal to get a reference to the same instance.
Just wanted to state that I am planning to implement this, but I have not found the time for it.
Is it possible to expose access to the UserManager for lower level access (even if it's marked as not-recommended/at your own risk, etc.)? For example, to workaround a limitation in oidc-client where the claims are not refreshed after silent renew for clients using refresh tokens: https://github.com/IdentityModel/oidc-client-js/issues/1034