microsoft / microsoft/ado-codespaces-auth

consent blocks login

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
10
Forks
8
Avg merge
8h 55m
Merged PRs (30d)
2

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.
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.