OAuth login and session status endpoints.
Login and callback routes issue redirects.
Session cookies are used for AUTH_USER flows.
Start GitHub OAuth login flow and redirect to provider.
| Name | Type | Required | Notes |
|---|---|---|---|
| state | string | No | Opaque state forwarded to provider. |
Handle GitHub OAuth callback and finalize session.
| Name | Type | Required | Notes |
|---|---|---|---|
| code | string | Yes | Authorization code from provider. |
| state | string | No | Forwarded state. |
Start Linux.do OAuth login flow and redirect to provider.
| Name | Type | Required | Notes |
|---|---|---|---|
| state | string | No | Opaque state forwarded to provider. |
Handle Linux.do OAuth callback and finalize session.
| Name | Type | Required | Notes |
|---|---|---|---|
| code | string | Yes | Authorization code from provider. |
| state | string | No | Forwarded state. |
Clear session and redirect to configured frontend URL.
Return current authenticated user or an unauthenticated response.