GetSSOLoginURL
POST/gitpod.v1.AccountService/GetSSOLoginURL
Gets the SSO login URL for a specific email domain.
Use this method to:
- Initiate SSO authentication
- Get organization-specific login URLs
- Handle SSO redirects
Examples
-
Get login URL:
Retrieves SSO URL for email domain.
email: "user@company.com" -
Get URL with return path:
Gets SSO URL with specific return location.
email: "user@company.com" returnTo: "https://gitpod.io/workspaces"
GetSSOLoginURL
curl https://app.gitpod.io/api/gitpod.v1.AccountService/GetSSOLoginURL \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GITPOD_API_KEY" \
-d '{
"email": "user@company.com"
}'{
"loginUrl": "loginUrl"
}Returns Examples
{
"loginUrl": "loginUrl"
}