-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
How can get custom claim #6048
Comments
|
1.Created a class inheriting from the UserClaimsPrincipalFactory class
2.Replace the UserClaimsPrincipalFactory by pre-configuring
I can't get my custom claim
But Now I resolve the problem by adding ApiResource in
|
The above solution is not working in v5.1 |
@kishoresahas new issue, please. |
Above got it resolved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a class inheriting from the UserClaimsPrincipalFactory class and override the CreateAsync method,it worked.
But I can't get my custom claim
The text was updated successfully, but these errors were encountered: