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

Initializing State After Authenticating From OpenId Connect Events #13

Open
RobinDavisNotts opened this issue Jun 10, 2021 · 1 comment

Comments

@RobinDavisNotts
Copy link

How would I initialize props from OpenId Connected Events?

From start up we need to show Tenant Id / Tenant Name which comes from the Identity Token, but can't seem to find a way to initialize that prop / state from when the token is successfully validated.

Thanks

@BerserkerDotNet
Copy link
Owner

Hi @SeeSharpy, I don't have much experience with OpenID, do you have a sample solution I can take a look at.
My thought would be that OpenID would be registered with DI and that you can inject something into the ConnectedComponent, but again, I'd need a sample to say for sure.

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