Skip to main content
GET
/
auth
/
oauth
/
authorize
/
{provider_id}
OAuth authorize endpoint
curl --request GET \
  --url https://api.stack-auth.com/api/v1/auth/oauth/authorize/{provider_id}
{
  "location": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

provider_id
string
required

Query Parameters

type
string
default:authenticate
token
string
default:""
provider_scope
string
error_redirect_uri
string
after_callback_redirect_url
string
stack_response_mode
string
default:redirect
bot_challenge_token
string
bot_challenge_phase
string
bot_challenge_unavailable
string
client_id
string
required
client_secret
string
required
redirect_uri
string
required
scope
string
required
state
string
required
grant_type
string
required
code_challenge
string
required
code_challenge_method
string
required
response_type
string
required

Response

Successful response

location
string
required