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

Refactor CaptureManagementClaimsCookieEvents for better extensibility #208

Open
Tracked by #190
josephdecock opened this issue Sep 26, 2024 · 0 comments
Open
Tracked by #190
Milestone

Comments

@josephdecock
Copy link
Member

Duende.Bff.Blazor has a cookie event where it will get the "management claims" (logout uri, session expires in, state), from the the claims service, and add them to the user's session. The idea is that we want the claims to be the same during pre-rendering (when we are reading them from the cookie) and subsequently in the UI so that, e.g., we can render a logout button statically that uses the bff:logout_uri claim.

This event should be refactored to be an IPostConfigureOptions, and not clobber the existing event using the CreateCallback pattern used elsewhere (e.g. PostConfigureSlidingExpirationCheck).

@josephdecock josephdecock changed the title Revisit CaptureManagementClaimsCookieEvents Refactor CaptureManagementClaimsCookieEvents for better extensibility Sep 26, 2024
@josephdecock josephdecock added this to the 3.0.0 milestone Sep 26, 2024
@josephdecock josephdecock mentioned this issue Sep 26, 2024
5 tasks
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