Skip to content

fix(auth): align OpenAI OAuth browser login URL#151

Merged
mengzhuo merged 2 commits intosipeed:mainfrom
qiaoborui:codex/fix-openai-oauth-authorize-url
Feb 15, 2026
Merged

fix(auth): align OpenAI OAuth browser login URL#151
mengzhuo merged 2 commits intosipeed:mainfrom
qiaoborui:codex/fix-openai-oauth-authorize-url

Conversation

@qiaoborui
Copy link
Contributor

@qiaoborui qiaoborui commented Feb 14, 2026

Summary

  • switch OpenAI browser OAuth authorization endpoint to /oauth/authorize
  • add required authorize query params: id_token_add_organizations=true, codex_cli_simplified_flow=true, and originator=codex_cli_rs
  • update authorize URL unit tests accordingly

Why

Browser login opened a blank page and did not proceed. This aligns the authorize URL shape with the current OpenAI Codex OAuth flow.

Related

Testing

  • go test ./pkg/auth -v

@mengzhuo
Copy link
Collaborator

LGTM, thanks

@mengzhuo mengzhuo merged commit ddd73ca into sipeed:main Feb 15, 2026
3 checks passed
@mengzhuo
Copy link
Collaborator

Thanks for your contribution! We are forming the PicoClaw Dev Group to accelerate the evolution of the project. Any developer with more than one merged PR is invited to join.

Would you like to join the PicoClaw Dev Group? If so, please send an email to support@sipeed.com with the subject line: [Join PicoClaw Dev Group] + Your GitHub account. We will send the Discord invite link to your inbox.

emadomedher pushed a commit to emadomedher/picoclaw that referenced this pull request Feb 17, 2026
…uthorize-url

fix(auth): align OpenAI OAuth browser login URL
StarWindv referenced this pull request in StarWindv/PicoClaw-shou Feb 19, 2026
…ze-url

fix(auth): align OpenAI OAuth browser login URL
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.

OpenAI OAuth blank page.

2 participants