# Callback

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

This group is used by operations but is not declared in the specification’s tag list, so it has no description of its own.

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


### Parameters

- `code` (In `query`, `string`, optional) — The code obtained from the SSO patron login.
- `state` (In `query`, `string`, optional) — The state send to the SSO patron login.
- `app_redirect_url` (In `query`, `string (uri)`, optional) — The app redirect url send to the SSO patron login.
- `error` (In `query`, `string enum`, optional) — 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` (In `query`, `string`, optional) — A human-readable text providing additional details about the error. This is intended for logging and debugging purposes.

Shared across operations: `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/vendor/v0.6.5/)

### Responses

Error responses: 302 — [See the shared contract on the version page.](https://plas.redia.dk/en/vendor/v0.6.5/)
