Skip to main content
POST
/
v1
/
auth
/
oauth
/
start
Start an explicitly enabled OAuth flow through the API proxy
import requests

url = "https://api.13-215-85-171.sslip.io/v1/auth/oauth/start"

payload = { "redirect_to": "https://console.example.com/keys" }
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "url": "<string>"
}

Body

application/json
provider
enum<string>
required
Available options:
google,
github
redirect_to
string
required

Console redirect URL passed through to Supabase Auth.

Example:

"https://console.example.com/keys"

captcha_token
string | null

Required when Auth CAPTCHA is enabled; validated before returning the provider URL.

Response

OAuth provider redirect URL

url
string<uri>
required

Supabase Auth provider URL that the browser should navigate to.