Skip to content

Fix device code flow parsing (stdout + URL mismatch) - #94

Merged
openrec0n merged 2 commits into
vectra-ai-research:mainfrom
raketforskaren:main
Apr 8, 2026
Merged

Fix device code flow parsing (stdout + URL mismatch)#94
openrec0n merged 2 commits into
vectra-ai-research:mainfrom
raketforskaren:main

Conversation

@raketforskaren

Copy link
Copy Markdown
  • Fix Azure CLI output parsing by reading from stdout instead of stderr
  • Update URL regex to support new Azure endpoint (login.microsoft.com/device)
  • Improves reliability of device code flow authentication technique

@openrec0n openrec0n self-assigned this Apr 8, 2026
@openrec0n openrec0n added bug Something isn't working wip A work in progress. Help or additional review needed labels Apr 8, 2026
@openrec0n

Copy link
Copy Markdown
Collaborator

@raketforskaren The PR description claims to "Update URL regex to support new Azure endpoint (login.microsoft.com/device)", but no regex change is present in the diff.

Fix comment that still referenced stderr after switching to stdout.
Update URL regex in both parsing locations to match the new Azure
endpoint (login.microsoft.com/device) in addition to the legacy
microsoft.com/devicelogin URL.
@openrec0n
openrec0n merged commit f5e6164 into vectra-ai-research:main Apr 8, 2026
4 checks passed
@raketforskaren

raketforskaren commented Apr 9, 2026

Copy link
Copy Markdown
Author

@raketforskaren The PR description claims to "Update URL regex to support new Azure endpoint (login.microsoft.com/device)", but no regex change is present in the diff.

@openrec0n Thanks for catching the mismatch and fixing it. The PR description was stale and didn’t reflect the actual diff. I should have cleaned that up before sending it for review.

@openrec0n

Copy link
Copy Markdown
Collaborator

@openrec0n Thanks for catching the mismatch and fixing it. The PR description was stale and didn’t reflect the actual diff. I should have cleaned that up before sending it for review.

nw! Thanks for noticing the bug and PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working wip A work in progress. Help or additional review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants