auth

Social Auth

Sign in with Apple or Google.

The mobile client obtains an id_token from the provider SDK and forwards it here. The backend verifies the token, finds or creates the user, and returns a token pair identical to the email/password login response plus a user block and is_new_user flag so the client can route to onboarding when appropriate.

post/api/v1/auth/social

Request

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

Request body

provider'apple' | 'google' required
id_tokenstring required
display_namestring nullable

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring
is_new_userboolean required

Changes

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