---
title: "DEPRECATED - use /auth/sso/authorize instead"
method: POST
path: "/auth/oidc/authorize"
tags: ["auth"]
---

# DEPRECATED - use /auth/sso/authorize instead

`POST /auth/oidc/authorize`

__Endpoint name__: getOidcAuthUrl

## Request body

- object
  - `namespaceId` integer
  - `namespaceNickname` string
  - `email` string, required

## Response `200`

Successful

- object
  - `data` object
    - `authUrl` string, nullable
  - `meta` object
    - `accessToken` object, nullable
      - `scopeUpdatedAt` string, date
    - `siteSpecificAccess` object, nullable
      - `isSiteSpecific` boolean
      - `siteIds` integer[], nullable
      - `siteIdsByScope` object, nullable
        - `string` integer[], nullable

---

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