v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
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"
    
post/gitpod.v1.AccountService/GetSSOLoginURL

Request body

emailstring email required

email is the email the user wants to login with

returnTostring uri nullable

return_to is the URL the user will be redirected to after login

Response

Success

loginUrlstring required

login_url is the URL to redirect the user to for SSO login