B2C-GraphAPI-DotNet icon indicating copy to clipboard operation
B2C-GraphAPI-DotNet copied to clipboard

Does not work if authority is changed to *.b2clogin.com

Open kaushikgayal opened this issue 6 years ago • 1 comments

It works perfectly fine with authority as login.microsoftonline.com but when authority is changed to b2clogin.com. It throws an exception. I tried upgrading AD nuget to the latest version 5.1 and also updated code to set Validate Authority to false. Still fails.

kaushikgayal avatar Aug 02 '19 05:08 kaushikgayal

@kaushikgayal it is not needed to use b2clogin.com domain because this is sample, we have used the client credentials flow, which is inherited capability of the enterprise tenant. I think, you are worried about deprecated of login.microsoft.com domain for b2c Tenant, flow in this sample is not going to be affected. ref this - https://docs.microsoft.com/en-us/azure/active-directory-b2c/b2clogin#endpoints-that-are-not-affected

Visinghr avatar Aug 25 '22 13:08 Visinghr

Closing as we are archiving this repo. Please refer to instead: Azure AD B2C user account management with .NET Core and Microsoft Graph

derisen avatar Jun 02 '23 15:06 derisen