Skip to main content
GET
/
api
/
auth
/
google
/
services
/
callback
Google Services OAuth callback
curl --request GET \
  --url https://pria.praxislxp.com/api/auth/google/services/callback

Query Parameters

code
string

Authorization code returned by Google. Required on success.

state
string

CSRF state to compare against req.session.oauth_state.value.

error
string

Set by Google when the user denies consent or the request is malformed.

Response

302

Always a redirect. On success → profile or chat page (per the captured origin). On any failure (missing code, state mismatch, token exchange error) → ${PRIA_URL}/oauth/success?error=<code>.