---
title: "Callback endpoint, used for final redirect from the OpenID connect provider"
method: GET
path: "/auth/callback/kc"
tags: ["auth"]
---

# Callback endpoint, used for final redirect from the OpenID connect provider

`GET /auth/callback/kc`

kc means Keycloak, could be potentially extended with different providers

## Query parameters

- `code` string, required
- `state` string
- `redirect_uri` string

## Other responses

- `302` — redirects to index page and sets the corresponding cookies
- `400` — Server cannot execute request due to something that is perceived to be a client error
- `401` — Unauthenticated, no token is provided or token is invalid

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/revisions/6aef0cb7a151/schema)
