Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Issuer should match tenants domainName for non federated identity #26

Open
ss-proc opened this issue Jul 18, 2022 · 0 comments
Open

Issuer should match tenants domainName for non federated identity #26

ss-proc opened this issue Jul 18, 2022 · 0 comments

Comments

@ss-proc
Copy link

ss-proc commented Jul 18, 2022

This line throws an error:

     {
        "error":{
           "code":"Request_BadRequest",
           "message":"Issuer should match tenants domainName for non federated identity.",
           "innerError":{
              "date":"xxxxx",
              "request-id":"xxxxx",
              "client-request-id":"xxxxx"
           }
        }
     }

https://github.com/Azure-Samples/ms-identity-dotnetcore-b2c-account-management/blob/80385804b1c8dc9d1f1eea63cb0c266fdd83728b/src/Services/UserService.cs#L357=

This is because the issuer is NOT the tenantId but it must be the domain name xxxxxxxxx.onmicrosoft.com. Please fix the example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant