Azure-Samples / Azure-Samples/ms-identity-ciam-javascript-tutorial

Keys for TenantId and ClientId are mixed up

オープン
#138 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
PowerShell
スター
75
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

The keys for TenantId and ClientId are swapped in appsettings.json for the ToDoListAPI. See also text in section "Configure the service app (ciam-msal-dotnet-api) in https://learn.microsoft.com/en-us/samples/azure-samples/ms-identity-ciam-javascript-tutorial/ms-identity-ciam-javascript-tutorial-2-call-api-angular/#setup-the-sample.

Application worked as expected for me after swapping the keys.

from appsettings.json
"AzureAd": {
"Instance": "https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/",
"TenantId": "Enter_the_Application_Id_Here", //this needs the tenant id and not the application/clientId and vice versa
"ClientId": "Enter_the_Tenant_Id_Here",
"Scopes": {
"Read": ["ToDoList.Read", "ToDoList.ReadWrite"],
"Write": ["ToDoList.ReadWrite"]
},
......
}

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。