You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .NET Core 7 Web API that registers a delegate to the OnTokenValidated event and then uses the claim utid in the event handler. However after updating from 2.14.0 to 2.15.1 I don't get the utid claim (home tenant id) not anymore.
publicclass CustomClaimsTransformator
{publicasyncTask<ClaimsPrincipal> TransformAsync(ClaimsPrincipalprincipal){varhomeTenantId= principal.GetHomeTenantId();// THIS RETURNS NULL AFTER UPDATE TO 2.15.1
Regression
No response
Expected behavior
As the version change from 2.14.0 to 2.15.1 is a minor version bump I would expect the utid claim as in v 2.14.0.
The text was updated successfully, but these errors were encountered:
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.15.1
Web app
Sign-in users
Web API
Protected web APIs call downstream web APIs
Token cache serialization
Distributed caches
Description
I have a .NET Core 7 Web API that registers a delegate to the
OnTokenValidated
event and then uses the claimutid
in the event handler. However after updating from2.14.0
to2.15.1
I don't get theutid
claim (home tenant id) not anymore.Reproduction steps
Error message
None
Id Web logs
No response
Relevant code snippets
ServiceCollectionExtensions.cs
CustomClaimsTransformator.cs
Regression
No response
Expected behavior
As the version change from 2.14.0 to 2.15.1 is a minor version bump I would expect the
utid
claim as in v 2.14.0.The text was updated successfully, but these errors were encountered: