---
title: "Get Sso Pending"
method: GET
path: "/api/v1/auth/sso/pending"
tags: ["sso"]
---

# Get Sso Pending

`GET /api/v1/auth/sso/pending`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/auth/sso/pending`
- Auth: none declared

What the consent page shows. Only the browser holding the cookie gets an answer.

## Response `200`

Successful Response

- SsoPendingRead: What the SPA's /auth/sso-continue page shows for a pending SSO hand-off (#1393). Answered only to the browser holding the pending cookie, i.e. the browser that just completed the IdP sign-in for ``email``.
  - `kind` 'link' | 'switch', required
  - `workspace_name` string, required
  - `provider` 'saml' | 'google', required
  - `email` string, required
  - `signed_in_as` string, nullable
  - `github` boolean
  - `joins_as_role` string, nullable
  - `is_owner` boolean
  - `sso_only_after_confirm` boolean
  - `csrf` string, required
  - `expires_at` string, date-time, required

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
