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
- Create a B2C Web App called Token Viewer
- set the reply url to https://jwt.ms
- Give it access any published scopes
Execute a Policy
- Open one of your policies
- Change the app Token View
- Clicking run now will get you an id token Sample ID Token
- 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
标签:
azure-ad-b2c