none
Azure AD B2C Refresh Token user journey not using fresh REST claims RRS feed

  • Question

  • According to this SE post from 2 years ago it should be possible to receive claims in id token from a REST api during login and token refresh:

    https://stackoverflow.com/questions/49549317/azure-ad-b2c-refresh-token-refresh-claims-via-rest-identity-experience-framew

    I am not receiving fresh claims during token refresh while trying to recreate this. That is:

    - Able to receive rest claims in id token during login via custom ropc policy

    - Able to refresh token via policy

    - REST API is called during every token refresh

    - Id token returned from token refresh contains old rest claims, not the fresh claims obtained from the rest api call

    Could anyone share whether they were able to get a setup like this working? Is it (still?) possible to obtain fresh claims on each token refresh using custom policy? I haven't tested with the exact policies in the example from SE (I am using some new syntax similar to current starter pack, e.g. "ServiceUrl" instead of "url" key, and not using all the same items in metadata, etc.)

    Apologies for not providing a mwe, just haven't had time to set one up.
    • Edited by ben-dyer Thursday, October 15, 2020 6:39 AM
    Thursday, October 15, 2020 1:43 AM