Skip to content
Ona Docs

ListSSOLogins

accounts.list_sso_logins(AccountListSSOLoginsParams**kwargs) -> SyncLoginsPage[AccountListSSOLoginsResponse]
POST/gitpod.v1.AccountService/ListSSOLogins

ListSSOLogins

ParametersExpand Collapse
email: str

email is the email the user wants to login with

formatemail
token: Optional[str]
page_size: Optional[int]
maximum100
minimum0
return_to: Optional[str]

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

formaturi
ReturnsExpand Collapse
class AccountListSSOLoginsResponse:
display_name: str

provider is the provider used by this login method, e.g. “github”, “google”, “custom”

login_url: str

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

ListSSOLogins

import os
from gitpod import Gitpod

client = Gitpod(
    bearer_token=os.environ.get("GITPOD_API_KEY"),  # This is the default and can be omitted
)
page = client.accounts.list_sso_logins(
    email="dev@stainless.com",
)
page = page.logins[0]
print(page.display_name)
{
  "pagination": {
    "nextToken": "nextToken"
  },
  "logins": [
    {
      "displayName": "displayName",
      "loginUrl": "loginUrl"
    }
  ]
}
Returns Examples
{
  "pagination": {
    "nextToken": "nextToken"
  },
  "logins": [
    {
      "displayName": "displayName",
      "loginUrl": "loginUrl"
    }
  ]
}