How do I view the claims returned from B2C? | B2C JWT Viewer

我们两清 提交于 2019-12-01 07:28:28

问题


How can I easily view the id token and access tokens returned from B2C? I know there are tools like https://jwt.io/ but I have manually copy and paste tokens from the URL. Surely, there has to be an easier way, no?


回答1:


Setup

  1. Create a B2C Web App called Token Viewer
    • set the reply url to https://jwt.ms
  2. Give it access any published scopes

Execute a Policy

  1. Open one of your policies
  2. Change the app Token View
  3. Clicking run now will get you an id token Sample ID Token
  4. Expand ACCESS TOKENS to obtain an access token

Review the Results

The following is a sample access token on https://jwt.ms

Sample access token



来源:https://stackoverflow.com/questions/49307986/how-do-i-view-the-claims-returned-from-b2c-b2c-jwt-viewer

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