msalConfig auth authority URL
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- authentication, frontend
Research direction
Start with ms-identity-ciam-javascript-tutorial\1-Authentication\0-sign-in-vanillajs\App\public\authConfig.js and reproduce the sign-in flow with each authority URL shown in the issue. Compare the resulting behavior and confirm the expected authority format for this tutorial configuration.
Written by the indexing model from the issue text.
Description
It is not working if the authority URL in authConfig.js (ms-identity-ciam-javascript-tutorial\1-Authentication\0-sign-in-vanillajs\App\public\authConfig.js) is https://<tenantId>.ciamlogin.com/, but it works with https://<tenantId>.ciamlogin.com/<tenantId>/v2.0
const msalConfig = {
auth: {
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
authority: 'https://Enter_the_Tenant_Subdomain_Here.ciamlogin.com/Enter_the_Tenant_Subdomain_Here/v2.0', // Replace the placeholders with your tenant subdomain
redirectUri: 'http://localhost:3000/redirect', // You must register this URI on Microsoft Entra admin center/App Registration. Defaults to window.location.href e.g. http://localhost:3000/
navigateToLoginRequestUrl: true, // If "true", will navigate back to the original request location before processing the auth code response.
},
...
}
- Dominant language
- PowerShell
- Stars
- 75
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/ms-identity-ciam-javascript-tutorial
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Azure-Samples/ms-identity-ciam-javascript-tutorial#140 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Azure-Samples/ms-identity-ciam-javascript-tutorial#138 · 1 comment · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
repo main branch mentioned on article doesn't contain the structure described on the documentation Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Azure-Samples/ms-identity-ciam-javascript-tutorial#133 · 1 comment ·
All issues in Azure-Samples/ms-identity-ciam-javascript-tutorial
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AXERA-TECH/ax-llm#75 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security impact:ux-friction issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 84/100