Playground/Social Login

Social LoginGoogle OAuth, no setup

social-login
OAuth flow + user storage + JWTs. No Google Cloud Console, no client IDs.

Sign in with Google

Signed out

The actual flow

  1. 1
    Browser navigates to Cohesivity's login URL
    GET https://cohesivity.ai/edge/auth/eager-grouse-floating/google?redirect_uri=…&return_to=…
  2. 2
    Google authenticates the user
    Cohesivity holds the OAuth client. You don't see it.
  3. 3
    Cohesivity redirects back with tokens
    https://coral.cohesivity.xyz/auth/done?access_token=…&refresh_token=…
  4. 4
    Server-side callback sets httpOnly cookies and redirects home
    Tokens never touch the client. Subsequent requests verify via the cookie.
  5. 5
    Verify the token on each request
    POST /edge/auth/<tenant>/verify { access_token }