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

Custom claims lost after during claims principal refresh #14917

Closed
MikeAlhayek opened this issue Dec 18, 2023 · 0 comments · Fixed by #14918
Closed

Custom claims lost after during claims principal refresh #14917

MikeAlhayek opened this issue Dec 18, 2023 · 0 comments · Fixed by #14918
Labels
Milestone

Comments

@MikeAlhayek
Copy link
Member

Describe the bug

We are able to add custom claims by using IUserClaimsProvider. However, these claims get lost when the identify is refreshed (after 30 mins)

To Reproduce

Steps to reproduce the behavior:

  1. Use IUserClaimsProvider to register a custom
  2. Login
  3. Do not use the site for at least 30 mins (to force identity to refresh)
  4. Evaluate the identity again and see if your custom claim exists,

Expected behavior

All claims should be available after the refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant