---
title: "Get SSO settings for a user or email domain"
method: GET
path: "/api-sso/{usernameOrEmail}"
tags: ["Login"]
---

# Get SSO settings for a user or email domain

`GET /api-sso/{usernameOrEmail}`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api-sso/{usernameOrEmail}`
- Auth: none required
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api-sso/:usernameOrEmail/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the list of identity providers enabled for a user or a given email domain.

## Path parameters

- `usernameOrEmail` string, required

## Response `200`

OK

- GetSSODomainIdPsResponse
  - `success` boolean, required: Whether the operation succeeded
  - `error` string: Optional error description (set if 'success' was false)
  - `idps` string[], required
  - `needsPasswordSetup` boolean: True when the user has no password set and none of their linked IDPs are currently valid. The client should display the password-setup flow instead of the password input.

---

[API](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api.md) - [All operations](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/revisions/e2a976d38427?raw)
