Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose UserManager #138

Open
GordonBlahut opened this issue Oct 8, 2020 · 3 comments
Open

Expose UserManager #138

GordonBlahut opened this issue Oct 8, 2020 · 3 comments

Comments

@GordonBlahut
Copy link

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:
IdentityModel/oidc-client-js#1034

@perarnborg
Copy link
Owner

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.

@GordonBlahut
Copy link
Author

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.

@perarnborg
Copy link
Owner

Just wanted to state that I am planning to implement this, but I have not found the time for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants