-
Notifications
You must be signed in to change notification settings - Fork 7
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
Got string ClaimType for JSON ClaimType #63
Comments
|
Got claim type http://www.w3.org/2001/XMLSchema#string for "resource_access" |
I have created a pull request to foss project and IdentityModel project, please check it |
Why is the |
I see how Microsoft create claim with "JSON" ClaimValueTypes from Microsoft.IdentityModel.Tokens.Jwt package I found that microsoft created 2 files with same content for JsonClaimValueTypes How do you prefer? How about create JsonClaimValueTypes inside the foss project? I found interesting open-source project out there are trying to get claims from ClaimPrincipal with ClaimValueTypes specific to "JSON", where we can see in this project in some case developer need to combine multiple authentication scheme like I did, I use very great project from duende "IdentityModel.AspNetCore.OAuth2Introspection" which is now the project rebranded to Duende.IdentityModel I think when all projects use standard definition for ClaimValueTypes, it will be great |
Yes, the Using the |
How is that code called? Do you convert the claim value string to something else based on the |
I still don't understand how you use the |
Which version of Duende IdentityServer are you using?
Duende.IdentityModel version 7.0.8
Which version of .NET are you using?
9.0
Describe the bug
A JSON ClaimType identified as string ClaimType
To Reproduce
Expected behavior
"resource_access" or "realm_access" claim with "JSON" ClaimType
Log output/exception with stacktrace
Additional context
The text was updated successfully, but these errors were encountered: