# Callback

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

Gruppen brukes av operasjoner, men er ikke deklarert i spesifikasjonens tag-liste, så den har ingen beskrivelse av seg 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.


### Parametere

- `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.

Felles for operasjonene: `version`. [Se den felles kontrakten på versjonssiden.](https://plas.redia.dk/no/vendor/v0.6.5/)

### Svar

Feilsvar: 302 — [Se den felles kontrakten på versjonssiden.](https://plas.redia.dk/no/vendor/v0.6.5/)
