consent blocks login
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- authentication
Research direction
Start by reproducing the failure through the ado-codespaces-auth.authenticate flow and inspect the logs around the VS Code token and the "User did not consent to login" error. Check the account-picker and MSAL-related browser flow, including the repeated "Just a moment" page; done means the extension completes login after account selection or the upstream cause is clearly identified.
Written by the indexing model from the issue text.
Description
I'm encountering issues stepping through the auth flow where the extension successfully obtains a token but then fails to complete login with an output message "User did not consent to login". I've tried logging out, clearing browser cookies and rebooting but always the auth flow fails with this message in the logs.
In the flow itself I never see a consent dialogue- I have been using the extension successfully for a few weeks and likely consented when I first installed it. Instead, after selecting my account in the account picker the browser window displays "Just a moment", and refreshes this notification three times before closing. Maybe this is an upstream MSAL issue?
2026-04-06T17:30:32.028Z: ado-codespaces-auth.authenticate called
2026-04-06T17:30:43.521Z: Auth changed
2026-04-06T17:30:43.521Z: Auth changed
2026-04-06T17:30:43.521Z: Got access token from VSCode
2026-04-06T17:30:43.521Z: Executing sudo -n ln -sf /home/vscode/ado-auth-helper /usr/local/bin/ado-auth-helper
2026-04-06T17:30:43.543Z: Executing sudo -n ln -sf /home/vscode/azure-auth-helper /usr/local/bin/azure-auth-helper
2026-04-06T17:30:46.469Z: Error Error: User did not consent to login.
2026-04-06T17:30:46.469Z: Error Error: User did not consent to login.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 8
- Avg merge
- 8h 55m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
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 microsoft/ado-codespaces-auth
-
ReferenceError crash on sign-in: "Cannot access 'be' before initialization" (Temporal Dead Zone bug) Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/ado-codespaces-auth#34 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/ado-codespaces-auth#31 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
microsoft/ado-codespaces-auth#18 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
microsoft/ado-codespaces-auth#11 · 2 comments ·
All issues in microsoft/ado-codespaces-auth
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·