---
title: "Start the OIDC flow to elevate an existing client session (browser)."
method: GET
path: "/auth/oidc/elevate"
tags: ["oidc"]
---

# Start the OIDC flow to elevate an existing client session (browser).

`GET /auth/oidc/elevate`

Redirects the user to the OIDC provider's authorization endpoint. After
successful authentication, the referenced client session is elevated for
the requested duration.

## Query parameters

- `id` integer, required
- `durationSeconds` integer, required

## Response `default`

Error

- Error — The Error contains error relevant information.
  - `error` string, required — The general error message
  - `errorCode` integer, required — The http error code.
  - `errorDescription` string, required — The http error code.

## Other responses

- `302` — Redirect to OIDC provider

---

[API](https://skmtc.net/gotify/apis/gotify-rest-api.md) · [All operations](https://skmtc.net/gotify/apis/gotify-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gotify/gotify-rest-api/revisions/7b32fcdb1345/schema)
