---
title: "POST /api/oidc/auth"
method: POST
path: "/api/oidc/auth"
tags: ["login"]
---

# POST /api/oidc/auth

`POST /api/oidc/auth`

OIDC Auth request

This entrypoint is called by the client for getting the authorization url for the Oauth2 provider he chooses

For testing you can generate a valid uuid field with the following command: `uuidgen | base64`

## Request body

- OidcAuthRequest
  - `deviceInfo` OidcDeviceInfo, required
    - `name` string, required
    - `os` string, required
    - `type` string, required
  - `id` string, required
  - `op` string, required
  - `uuid` string, required

## Response `200`

- OidcAuthUrl
  - `code` string, required
  - `url` string, required

---

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