How can the Azure Active Directory Authentication Service be forced to reissue an id_token with updated claims?

RNDThoughts

We are using Azure B2C to authenticate our users which is working fine. After signup we add some custom claims to our users which were defined in the B2C portal as "User attributes" using the graph api. When I log into the portal I can see these values have been set by our calls, as have some standard claims values(i.e. we also set Display Name by concatenating the givenName and lastName values).

The issue we are having is that after these values are set, they do not appear in the token retrieved by sending the access token to the authenticate endpoints until the user is logged out and back in again (which is obviously a pretty awful user experience after signup). It looks like the original id_token is cached when the user is created and that is what is being returned instead.

This doesnt make sense, as it seems perfectly sensible to let a user update their profile (claims values) while logged into an application and for those changes to take affect immediately without needing to re-authenticate?

Could someone explain how/if it is possible to force the cached id_token on the server to expire so that when we request a id_token using an access token, the id_token contains the most up-to-date claims values?

RNDThoughts

OK so after nearly a month of waiting for a response, the official line is:

"Product Group identify that this is on the roadmap even that we still don't have a final date it should happen in a few months."

So basically they haven't acknowledged it's a bug and they can't tell when this scenario will be supported. Pretty poor level of support to be honest.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to verify signature of refreshed id_token in Azure active directory

How to reissue a session token cookie when the user has his claims updated by the admin?

How to use Windows Active Directory Authentication and Identity Based Claims?

How to get user claims in postman from from Azure active directory?

Azure Service Management API authentication using Azure Active Directory Oauth

How to fix 'Unable to Obtain Authentication Token' in Active Directory Authentication to Azure Analysis Server

Turn on 'App Service Authentication' for Azure Active Directory from terraform script

Azure Active Directory app service can't connect to Azure Keyvault using user creds/token

Azure Active Directory authentication in Rust

Azure Active Directory and WCF authentication

Add Security Group Claims to SAML token for Custom Azure Active Directory Application

Authentication with Azure Active Directory - how to accept user credentials programmatically

How to add Azure Active Directory authentication to a Razor Pages app?

How to connect to Azure SQL Server in databricks using active directory authentication

Id_token claims

Using Azure Active Directory as an OAUTH2 Authentication service for a Spring-boot REST service

Azure SQL authentication using Azure Active Directory

Azure Function authentication using Azure Active Directory

Azure VPN client azure active directory authentication

Restarting Azure App Service on Linux with Azure Active Directory authentication resets /.auth/me/

Azure Function Authentication: Azure Active Directory: Use Security Group to include identities (users and service principals) to access Function

C# .Net Core Web Api Azure Active Directory & Claims

How to get group names based on group id in azure active directory using graph service client

How to set properties of Azure Active Directory service principal from code?

how to set the service principle display name in azure active directory

How to generate Azure Active Directory (AAD) authentication token for Graph API without interactive login screen for console/native application?

Using Active Directory for Authentication locally and on Azure

Active Directory Authentication in SQL Azure and Latency issue

Azure SQL Database - Active Directory integrated authentication

TOP Ranking

HotTag

Archive