I installed System.IdentityModel.Tokens.Jwt via Nuget.
Update-Package –reinstall System.IdentityModel.Tokens.Jwt
I need to use the class TokenValidationParameters . When I do I get this error:
'System.IdentityModel.Tokens.TokenValidationParameters' does not contain a definition
for 'AudienceUriMode'
'System.IdentityModel.Tokens.TokenValidationParameters' does not contain a definition
for 'SigningToken'
but according to the documentation there, I tried to reinstall. I have System.IdentityModel.Tokens.Jwt version 4.0.
I also have another error. I can't use JwtSecurityToken Constructor (String, String, IEnumerable, Lifetime, SigningCredentials) . Any Idea what the problem is?
Answered by leastprivilege
specify a scope in your OAuth request
https://github.com/thinktecture/Thinktecture.IdentityServer.v2/issues/600
Hope this answers your question
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.