---
title: "POST /api/v1/credentials/token/oauth"
method: POST
path: "/api/v1/credentials/token/oauth"
tags: ["Token"]
---

# POST /api/v1/credentials/token/oauth

`POST /api/v1/credentials/token/oauth`

## Request body

- GetOAuthTokenRequest
  - `Code` string, nullable
  - `ProviderId` string
  - `RedirectUri` string
  - `CodeVerifier` string, nullable
  - `Username` string, nullable
  - `Password` string, nullable

## Response `200`

- GetOAuthTokenResult
  - `Succeeded` boolean
  - `Message` string, nullable
  - `Code` string, nullable
  - `AccessToken` string
  - `TokenType` string
  - `ExpiresIn` integer
  - `RefreshToken` string
  - `IdToken` string
  - `Scope` string
  - `Username` string, nullable

---

[API](https://skmtc.dev/pads4/apis/nds-services-authentication.md) · [All operations](https://skmtc.dev/pads4/apis/nds-services-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pads4/nds-services-authentication/revisions/e0bfd79e98ee/schema)
