---
title: "OIDC callback"
method: GET
path: "/users/oidc/callback"
tags: ["Users"]
---

# OIDC callback

`GET /users/oidc/callback`

Handles the OIDC callback, exchanges the code for a token, and creates or logs in the user.

## Other responses

- `302` — Redirects to the frontend with a success or error message.
- `400` — Code and state are required.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
