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

Register user token store as scoped #37

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

josephdecock
Copy link
Member

In blazor implementations of the token store, you might want to depend on the auth state provider. That can't be resolved in a singleton context, so we shouldn't register this dependency as a singleton.

What issue does this PR address?
Related to: DuendeSoftware/BFF#207

In blazor implementations of the token store, you might want to depend on the auth state provider. That can't be resolved in a singleton context, so we shouldn't register this dependency as a singleton.
@josephdecock josephdecock merged commit 9e2009d into main Nov 13, 2024
3 checks passed
@josephdecock josephdecock deleted the joe/token-store-lifetime branch November 13, 2024 12:17
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

Successfully merging this pull request may close these issues.

2 participants