---
title: "Get current provider access token"
method: GET
path: "/auth/oauth/{provider}/token"
tags: ["OAuth Authentication"]
---

# Get current provider access token

`GET /auth/oauth/{provider}/token`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/oauth/{provider}/token`
- Auth: HTTP bearer

Get valid access token for OAuth provider.
Automatically refreshes if expired.

## Path parameters

- `provider` 'google' | 'github' | 'microsoft' | 'apple', required

## Response `200`

Current access token

- object
  - `message` string
  - `provider` string
  - `expires_in` integer

## Other responses

- `401`: Not authenticated
- `404`: Provider not linked

## Changes

- **2026-09-19** `3a6f365f3f35`: 2 breaking, 4 info
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `404`
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
  - …2 more
- **2026-08-27** `bb44e98aba2e`: 4 breaking, 2 warning
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `404`
  - removed the required property `error` from the response with the `401` status
  - removed the required property `error` from the response with the `404` status
  - …2 more
- **2026-07-27** `bb52784e098a`: 2 info
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/oauth/:provider/token/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
