---
title: "Fetch the identity provider's discovery document with the stored settings"
method: POST
path: "/api/v1/sso/test"
tags: ["Single sign-on"]
---

# Fetch the identity provider's discovery document with the stored settings

`POST /api/v1/sso/test`

## Request

- Base URL: `https://qrlia.dev.castlesoft.eu`
- URL: `https://qrlia.dev.castlesoft.eu/api/v1/sso/test`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `qrc_session`

## Response `200`

Result

- object
  - `ok` boolean, required
  - `issuer` string, nullable, required
  - `authorizationEndpoint` string, nullable, required
  - `error` string, nullable, required

## Other responses

- `400`: Validation failed
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal

---

[API](https://skmtc.dev/qrlia/apis/qrlia-api.md) · [All operations](https://skmtc.dev/qrlia/apis/qrlia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qrlia/apis/qrlia-api/revisions/01c5dd6002ab?raw)
