You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
josephdecock
changed the title
Revisit CaptureManagementClaimsCookieEvents
Refactor CaptureManagementClaimsCookieEvents for better extensibility
Sep 26, 2024
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 theCreateCallback
pattern used elsewhere (e.g.PostConfigureSlidingExpirationCheck
).The text was updated successfully, but these errors were encountered: