---
title: "Start OpenID Connect sign-in"
method: POST
path: "/auth/oidc/{realm}/start"
tags: ["Authentication"]
---

# Start OpenID Connect sign-in

`POST /auth/oidc/{realm}/start`

## Request

- Base URL: `https://sylve.lan:8181/api`
- URL: `https://sylve.lan:8181/api/auth/oidc/{realm}/start`
- Auth: none declared

Returns the provider URL to send the browser to, and binds the attempt to this browser with a cookie

## Path parameters

- `realm` string, required

## Request body

- InternalHandlersAuthOIDCStartRequest
  - `redirectUri` string, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseInternalHandlersAuthOIDCStartResponse
  - `data` InternalHandlersAuthOIDCStartResponse
    - `url` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `503`: Service Unavailable

## Changes

- **2026-11-10** `84fe34f1986b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/auth/oidc/:realm/start/post.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) - [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alchemillahq/apis/sylve-api/revisions/61886c42c907?raw)
