Skip to content

fix: correct relative path for device authorize endpoint#584

Merged
nycomp merged 1 commit intoweeklyfrom
bugfix/oauth-device-authorize-path-fix
May 7, 2026
Merged

fix: correct relative path for device authorize endpoint#584
nycomp merged 1 commit intoweeklyfrom
bugfix/oauth-device-authorize-path-fix

Conversation

@nycomp
Copy link
Copy Markdown
Contributor

@nycomp nycomp commented May 7, 2026

Summary

The JavaScript fetch was using ./authorize which resolves to /auth/v1/oauth/authorize (404), but the actual endpoint is /auth/v1/oauth/device/authorize.

Changes

Changed relative path from ./authorize to ./device/authorize to correctly hit the device authorization submit endpoint.

Fixes

Fixes 404 error when attempting to authorize a device code after Google OAuth login.

🤖 Generated with Claude Code

The JavaScript fetch was using './authorize' which resolves to
/auth/v1/oauth/authorize (404), but the actual endpoint is
/auth/v1/oauth/device/authorize. Changed to './device/authorize'.
@nycomp nycomp merged commit 3347912 into weekly May 7, 2026
8 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.

2 participants