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

2019-02-25 16:09发布

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条回答
成全新的幸福
2楼-- · 2019-02-25 16:19

Setup

  1. Create a B2C Web App called Token Viewer
  2. Give it access any published scopes api access screenshot

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 run now screenshot for id tokens Sample ID Token
  4. Expand ACCESS TOKENS to obtain an access token run now screenshot for access tokens

Review the Results

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

sample access token screenshot

Sample access token

查看更多
登录 后发表回答