Oauth Login

Sign in / sign up with a Google id_token or Apple identity_token. Body: {token, terms_accepted?}. Existing account with the same verified email gets LINKED (provider sub stored); brand-new users need terms_accepted=true (400 with needs_terms otherwise). Response mirrors /auth/login; first-ever creation also returns the shown-once api_key.

post/auth/oauth/{provider}

Request

  • Base URL: https://api.n0brains.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.n0brains.com/auth/oauth/{provider}
  • Auth: none declared

Path parameters

providerstring required

Response

Successful Response

unknown required

Changes

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