How to locate reference tokens to revoke based on the user?

风格不统一 提交于 2019-12-12 04:24:53

问题


I configured my IdSvr client to return reference tokens to make them revocable. I'm also using the IdentityServer.EntityFramework library to store the generated reference tokens in the Tokens table. The Token Revocation endpoint requires the token to revoke. As an administrator I want to call revocation but I don't know the access token as the key is stored hashed in the database. How would the administrator locate the tokens to revoke for a user?


回答1:


You can revoke by subject and client id.



来源:https://stackoverflow.com/questions/38360090/how-to-locate-reference-tokens-to-revoke-based-on-the-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!