Skip to content

fix(auth): migrate OAuth from retired clerk.alphaxiv.org to api.alphaxiv.org/auth - #9

Open
Puca (PucaVaz) wants to merge 1 commit into
companion-inc:mainfrom
PucaVaz:fix/oauth-migrate-off-clerk
Open

fix(auth): migrate OAuth from retired clerk.alphaxiv.org to api.alphaxiv.org/auth#9
Puca (PucaVaz) wants to merge 1 commit into
companion-inc:mainfrom
PucaVaz:fix/oauth-migrate-off-clerk

Conversation

@PucaVaz

Copy link
Copy Markdown

alphaXiv retired the Clerk auth host: clerk.alphaxiv.org now returns NXDOMAIN, so alpha login and token refresh fail with Error: fetch failed, breaking every command.

This repoints the OAuth endpoint constants in cli/src/lib/auth.js to alphaXiv's self-hosted OAuth server, discovered via GET https://api.alphaxiv.org/.well-known/oauth-protected-resourceauthorization_servers: ["https://api.alphaxiv.org/auth"]. The PKCE S256 flow and dynamic client registration are unchanged and verified against the new server.

Complements #6 (search-tool rename); auth blocks all commands regardless of that fix.

Verified: fresh alpha logout && alpha login succeeds, alpha status shows logged in, alpha get <id> returns content.

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.

1 participant