auth

Finish the web's "Continue with Google" redirect: exchange the code (PKCE); sets the shared .ditto.audio session cookie

post/v1/auth/google/code

Request

  • Base URL: https://api.ditto.audio (the document declares no server; this is the origin it was published from)
  • URL: https://api.ditto.audio/v1/auth/google/code
  • Auth: none declared

Request body

codestring required

Authorization code from the redirect

codeVerifierstring required

PKCE code_verifier (RFC 7636: 43-128 unreserved characters)

redirectUristring required

The redirect_uri the authorization request used

noncestring required

The nonce the authorization request carried; must come back in the ID token

Response

JWT returned + cookie set (account created if new)

Changes

No recorded changes to this operation across all 1 revision of this API.