# SsoCompleteContent

**Kind:** Component

**Source:** [`atloria-monorepo/apps/web/src/app/(auth)/sso/complete/page.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/(auth)/sso/complete/page.tsx#L14)

A1 SSO landing page. The API redirects here with a one-time `code` after a validated SAML assertion. We exchange it via the `sso-code` NextAuth provider (single use) which mints the standard session, then send the user into the app. The code is never a JWT — it only unlocks the already-minted token pair.

## Diagram

```mermaid
graph TD
    component_SsoCompleteContent_3a0b3c1b["SsoCompleteContent"]
    class component_SsoCompleteContent_3a0b3c1b rootComponent
```

## Relationships

- RENDERS → `Link`
- USES_HOOK → `useRouter`
- USES_HOOK → `useSearchParams`
- USES_HOOK → `useState`
- USES_HOOK → `useRef`
- USES_HOOK → `useEffect`

## Referenced By

- `SsoCompletePage` (RENDERS)
