Skip to content

Start the OIDC login flow

GET
/auth/login
curl --request GET \
--url 'https://example.com/auth/login?return_to=%2Fapprove%2F9f1c0b2a-...'

Redirects the browser to the identity provider. return_to is validated as a same-site, path-only relative URL; anything else is ignored rather than followed.

return_to
string

Where to land after login

Example

/approve/9f1c0b2a-...

Redirect to the identity provider

Media typeapplication/json
string

Example generated

example