简体   繁体   中英

Azure B2C - MSAL - Fetch ID Token with updated claims

I am using Azure B2C using built in signup/signin policy to register and sign in user. I have a react application, in which I have implemented the flow using msal library. Now in one of my scenario, I am aware that the claims data has been updated and I want to update my id token in browser order to get the latest claims. I have tried using acquireTokenSilent but it is not returning token with latest claims.

What shall I do in order to get token with latest claims?

Claims are not dynamic.

The only way to do this is to log out and then log in.

This is not particuler to B2C. ADFS eg does exactly the same.

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