Skip to main content
GET
/
api
/
auth
/
github
curl -i https://nest.feather.mupeni.dev/api/auth/github
Location: https://github.com/login/oauth/authorize?client_id=...&redirect_uri=...&scope=read:user%20user:email&state=...
Set-Cookie: oauth_state=...; HttpOnly; Secure; SameSite=Lax

Usage

This endpoint is equivalent to GET /api/auth/sign-in/github.
  • Redirects to GitHub OAuth authorization.
  • Sets an OAuth state cookie used by the callback flow.
This is a browser redirect endpoint. It is not intended for server-to-server API integration.
curl -i https://nest.feather.mupeni.dev/api/auth/github
Location: https://github.com/login/oauth/authorize?client_id=...&redirect_uri=...&scope=read:user%20user:email&state=...
Set-Cookie: oauth_state=...; HttpOnly; Secure; SameSite=Lax