Authentication

Initiate OAuth login flow

Changed on

Generates OAuth URL for authentication with external providers (Auth0)

get/accounts/oauth/login

Request

Query parameters

accountstring required

Account identifier for the login request

connectionstring

OAuth connection type (e.g., github, google-oauth2)

Headers

Refererstring required

Referer URL

Response

OAuth URL generated successfully

Example response

{
  "data": {
    "oauth_url": "https://domain.auth0.com/authorize?client_id=...&response_type=code&redirect_uri=...&state=..."
  }
}

Changes

    • breaking

      added the new required header request parameter Referer

    • warning

      removed the optional property from the response with the status

    • info

      api operation id getOAuthLoginUrl was added

    • info

      added the required property to the response with the status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status