Skip to content

Status Checks, Outages & Logout

Because JointTex OIDC is designed for short-lived, high-assurance identity assertions without shared cross-app cookies, relying parties must follow the session validation and logout contract below.

  • ID tokens (id_token): Valid for 300 seconds (5 minutes), signed with RS256.
  • Opaque access tokens (access_token): Valid for 300 seconds, accepted only at GET /oidc/userinfo (they cannot access JointTex project APIs or /mcp).

Relying parties must call GET /oidc/userinfo at least every 60 seconds and before sensitive actions, without caching a successful check longer than 60 seconds.

On every UserInfo call, JointTex validates:

  1. Access-token expiry and the application’s current revision and owner standing.
  2. Whether the user’s account is active (not suspended or deleted).
  3. Whether the underlying browser session is still active and verified.

If any check fails — due to sign-out, all-device session revocation, account suspension/deletion, rotated client credentials, or token revocation — UserInfo returns 401 with invalid_token. When an access token expires or returns 401, require a fresh browser authorization flow before continuing authenticated work.

If the identity backend is temporarily unreachable, /oidc/userinfo returns:

HTTP/1.1 503 Service Unavailable
Retry-After: 2
Content-Type: application/json
{"error":"temporarily_unavailable"}

When you receive 503:

  • Do not treat it as a revoked token or sign the user out of your app.
  • Retry with backoff respecting Retry-After.
  • If your last successful check is older than 60 seconds, pause authenticated/sensitive actions and show a retryable service-unavailable notice while keeping the user’s local draft state intact.

To log a user out of your application:

  1. Clear your application’s own session cookie or store.
  2. Optionally revoke the JointTex access token with a form POST to /oidc/revoke using your application’s authentication method (client_secret_basic for server apps, or client_id in the body for public apps):
Terminal window
curl -X POST https://jointtex.com/oidc/revoke \
-u "<client_id>:<client_secret>" \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "token=<access_token>"

Revocation is idempotent (always returns 200, even for unknown tokens) and only revokes tokens belonging to your application. It does not log the user out of JointTex or any other application.

Conversely, signing out of JointTex revokes that browser session so OIDC access tokens tied to it fail their next UserInfo check.

  • JointTex signs ID tokens with RSA-2048 keys (RS256) rotated on a 30-day UTC cycle.
  • Previous period public keys remain published at https://jointtex.com/oidc/jwks for at least 30 days after rotation — far longer than any ID token’s 300-second lifetime.
  • Configure your OIDC client to cache JWKS responsibly and refresh it automatically whenever an ID token carries an unseen kid.