Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Doesn't getting claims in Refresh Access Token #4

Open
nitisha1 opened this issue Sep 28, 2017 · 1 comment
Open

Doesn't getting claims in Refresh Access Token #4

nitisha1 opened this issue Sep 28, 2017 · 1 comment

Comments

@nitisha1
Copy link

Hi,
I'm signin to B2C after that i call my api to create vendor and after that i call aquireTokenSilent to get the add claims in jwt Token.But unfortunately i'm not getting added claims in Access token.I checked user identity also it is also same as in sign.
Any help what i'm missing?
How to get the added claims by refreshing token?

@gsacavdm
Copy link
Contributor

gsacavdm commented Oct 8, 2017

Custom claims are only supported in the id_token, not the access_token.
Where are you wanting to use the customer claims? In the client app or the API app?

If in the client app, you should get them from the id_token.
If in the API app, you should use the Azure AD Graph API to get them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants