Log in via external OAuth provider.
GET
/api/auth/v1/oauth/{provider}/login
const url = 'https://example.com/api/auth/v1/oauth/example/login';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/auth/v1/oauth/example/loginParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” provider
required
string
Query Parameters
Section titled “Query Parameters ” redirect_uri
string | null
mfa_redirect_uri
string | null
response_type
One of:
null
pkce_code_challenge
string | null
Responses
Section titled “ Responses ”Redirect.