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

# GET /api/oidc/auth-query

`GET /api/oidc/auth-query`

OIDC State request

This entrypoint is called by the client for getting the status of the OIDC session it returns an empty json object if the session is not found it returns an access token if the session is found

## Query parameters

- `code` string, required
- `id` string, required
- `uuid` string, required

## Response `200`

- OidcResponse
  - `access_token` string, required
  - `type` string, required
  - `tfa_type` string, required
  - `secret` string, required
  - `user` OidcUser, required
    - `name` string, required
    - `email` string, required
    - `note` string, required
    - `status` integer, required
    - `info` OidcUserInfo, required
      - `email_verification` boolean, required
      - `email_alarm_notification` boolean, required
      - `login_device_whitelist` string[], required
      - `other` object, required
    - `is_admin` boolean, required
    - `third_auth_type` 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)
