Hi,
Thank you for raising this to our attention! I have created a bug to address this. As of yet I have not seen an update from the PG. If you send me an email at AzCommunity@microsoft.com I can keep you in the loop on fixes to this.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have UWP app backend is azure mobile app service. I have configured azure b2c as authnetication. from last six month it is working fine.
on my client side i am using DefaultManager.CurrentClient.CurrentUser.UserId
which give me userid {sid:value}
format.
on server side this code was also giving {sid:value} and provider was aad
var identity = User as ClaimsPrincipal;
var userClaim = identity?.Claims.FirstOrDefault(b => b.Type == ClaimTypes.NameIdentifier);
from 20 December it is giving directly from b2c.
when i send the same request to local code it works as expected. but if i debug using attaching to azure mobile app. i am getting the same different value.
Now from 21 Jan on server it is again giving userid as {sid:value} format.
what is the correct format i can not keep changing my code.
https://github.com/Azure/azure-mobile-apps-net-server/issues/33
Hi,
Thank you for raising this to our attention! I have created a bug to address this. As of yet I have not seen an update from the PG. If you send me an email at AzCommunity@microsoft.com I can keep you in the loop on fixes to this.