Versionv1

Logout

  1. Clear your session — delete or invalidate your application session cookie and server-side session record.
  2. IdP logout (optional but recommended) — if Intastellar provides an end-session or logout URL, redirect the user there with parameters specified in your integration guide (id_token_hint, post_logout_redirect_uri, client_id, etc.) so SSO cookies on the identity domain are cleared.
  3. Return URL — send the user to a public page on your site after logout completes.

Without step 2, the user may still be signed in to Intastellar and get a silent SSO on the next authorize redirect.

Common authorize errors

error (typical)Meaning
invalid_requestMissing or invalid parameter (e.g. bad redirect_uri).
unauthorized_clientClient not allowed for this flow or scope.
access_deniedUser cancelled or blocked consent.
invalid_scopeRequested scope not allowed for the client.

Always show a safe message to the user and log error_description server-side for support.

Common token errors

errorMeaning
invalid_grantCode expired, already used, or redirect_uri / PKCE mismatch.
invalid_clientWrong client_id / client_secret.
invalid_requestMalformed body or missing field.

Authorization codes are usually single-use and short-lived. If the user double-submits the callback or you retry with the same code, expect invalid_grant.

React SDK (popup)

  • Popup blocked — the SDK opens a new window; browsers may block it. Allow popups for your origin or use a flow that does not rely on window.open if your product supports it.
  • Still “signed in” after portal logout — third-party cookies or IdP session can make getUsers() return a user until IdP logout or cookie cleanup; see Sessions, cookies, and tokens.

Troubleshooting checklist

  • Redirect URI matches the registered value exactly (scheme, host, path, no extra query).
  • state matches the value you stored for this attempt.
  • PKCE: same code_verifier that produced the sent code_challenge.
  • Clock skew: ensure server time is correct for JWT exp validation.
  • CORS: token endpoint calls from the browser often fail by design — use your backend.

For a full walkthrough of the happy path, see Authorization code flow.

Last updated