docs.dev

Sign in with GitHub

GET
/api/auth/github/login

Starts the GitHub App OAuth flow. Authorization is push access to the docs repository — anyone who can push can edit. On success the callback sets the session cookie and redirects back to return.

Query Parameters

return?string

Path to land on after sign-in (defaults to /admin).

Response Body

curl -X GET "https://example.com/api/auth/github/login"
Empty