Skip to content

fix: OAuth code parsing - #141

Merged
dy-tea merged 2 commits into
vlang:masterfrom
nepinhum:fix/oauth-code
Aug 21, 2026
Merged

fix: OAuth code parsing#141
dy-tea merged 2 commits into
vlang:masterfrom
nepinhum:fix/oauth-code

Conversation

@nepinhum

Copy link
Copy Markdown
Contributor

Fix GitHub OAuth login when the callback URL includes extra query params like iss.

The callback now parses only the code param instead of taking everything after code= and token responses are parsed safely.

Tests: v test . & local vpm application

@xRookieFight xRookieFight left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dy-tea
dy-tea merged commit 43b9222 into vlang:master Aug 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants