internal

Google Auth

Authenticate or register with Google.

Accepts a Google ID token credential. If the email matches an existing account, the Google identity is linked. If no account exists, a new one is created.

Returns requires_2fa=true if the linked account has 2FA enabled.

post/auth/google

Request

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

Query parameters

localestring

Locale for new users

Request body

credentialstring required
marketing_consentboolean nullable
partner_codestring nullable

Response

Successful Response

requires_2faboolean
temp_tokenstring nullable
access_tokenstring nullable
token_typestring
is_new_userboolean

Changes

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