BlazorState
BlazorState copied to clipboard
Initializing State After Authenticating From OpenId Connect Events
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
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.