# Callback

Vendor API v0.6.5 · 1 operation
Kilde: https://plas.redia.dk/vendor/v0.6.5/callback/

Gruppen bruges af operationer, men er ikke erklæret i specifikationens tag-liste, så den har ingen beskrivelse af sig selv.

## Callback endpoint for Patron SSO authentication.

`GET` `/callbacks/patron/auth` · `CallbackPatronAuthentication`

Callback endpoint for Patron SSO authentication.

If the login is successful, the query parameters 'code' and 'state' are required. Otherwise, the query parameter 'error' is required.


### Parametre

- `code` (i `query`, `string`, valgfri) — The code obtained from the SSO patron login.
- `state` (i `query`, `string`, valgfri) — The state send to the SSO patron login.
- `app_redirect_url` (i `query`, `string (uri)`, valgfri) — The app redirect url send to the SSO patron login.
- `error` (i `query`, `string enum`, valgfri) — A machine-readable error code indicating why the operation failed. Its presence signifies a failure and should be handled accordingly by the Vendor Backend.
- `error_description` (i `query`, `string`, valgfri) — A human-readable text providing additional details about the error. This is intended for logging and debugging purposes.

Fælles for operationerne: `version`. [Se den fælles kontrakt på versionssiden.](https://plas.redia.dk/vendor/v0.6.5/)

### Svar

Fejlsvar: 302 — [Se den fælles kontrakt på versionssiden.](https://plas.redia.dk/vendor/v0.6.5/)
