Skip to Content
Sign in

Get Session

Whether this browser is signed in. Always 200, so the site can pick "Sign in" or "Open the console" without an error. For the signed-in redirect: Sign in and Get started on the site send a signed-in person straight to `redirect_to` (`/app`). Every sign-in also sets a non-secret hint cookie, `ql_signed_in=1` (`__Host-ql_signed_in` over HTTPS; Path=/, SameSite=Lax, not HttpOnly), with the session's lifetime, so the site's server and the web proxy can redirect before rendering. The hint is never proof: `/app` checks the session itself. When the session is gone, this call clears the hint.

GET
/auth/session

Whether this browser is signed in. Always 200, so the site can pick "Sign in" or "Open the console" without an error.

For the signed-in redirect: Sign in and Get started on the site send a signed-in person straight to redirect_to (/app). Every sign-in also sets a non-secret hint cookie, ql_signed_in=1 (__Host-ql_signed_in over HTTPS; Path=/, SameSite=Lax, not HttpOnly), with the session's lifetime, so the site's server and the web proxy can redirect before rendering. The hint is never proof: /app checks the session itself. When the session is gone, this call clears the hint.

Response Body

OK

application/json
  1. response
signed_in*boolean
member_id?string
email?string
redirect_to?string
Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/auth/session'
Example Response200
{  "signed_in": true,  "member_id": "string",  "email": "string",  "redirect_to": "string"}