简体   繁体   中英

Identity Server 3 token validation

How can we validate token generated from another client, on mobile if the app has link which passes token to the website, that website has some controller which accept token , how to authenticate user with access_token?

Is there a method in identity server 3 which validate access_token?

There is a built-in endpoint in indentityserver 3 which validate token, it can be called using GET or post by passing token and the response status code can tell if it is valid or not.

more information

Also, it can be validated using JwtSecurityTokenHandler (). ValidateToken () method. it will ClaimsPrincipal.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM