---
title: "GET /auth/v1/method/oidc/{provider}/callback"
method: GET
path: "/auth/v1/method/oidc/{provider}/callback"
tags: ["AuthenticationMethodOIDCService"]
---

# GET /auth/v1/method/oidc/{provider}/callback

`GET /auth/v1/method/oidc/{provider}/callback`

## Path parameters

- `provider` string, required

## Query parameters

- `code` string
- `state` string

## Response `200`

OK

- CallbackResponse
  - `clientToken` string
  - `authentication` Authentication
    - `id` string
    - `method` 'METHOD_NONE' | 'METHOD_TOKEN' | 'METHOD_OIDC' | 'METHOD_KUBERNETES' | 'METHOD_GITHUB' | 'METHOD_JWT' | 'METHOD_CLOUD', enum
    - `expiresAt` string, date-time
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `metadata` object

## Changes

> 5 revisions in range; 1 could not be searched.

- **2024-08-08** `594afc3dbe2e` — 1 breaking, 7 warning
  - the `authentication/method` response's property type/format changed from `integer`/`enum` to `string`/`enum` for status `200`
  - added the new `METHOD_CLOUD` enum value to the `authentication/method` response property for the response status `200`
  - added the new `METHOD_GITHUB` enum value to the `authentication/method` response property for the response status `200`
  - added the new `METHOD_JWT` enum value to the `authentication/method` response property for the response status `200`
  - …4 more
- **2024-08-07** `291b2f802c58` — 1 breaking, 7 info
  - the `authentication/method` response's property type/format changed from `string`/`enum` to `integer`/`enum` for status `200`
  - removed the `METHOD_CLOUD` enum value from the `authentication/method` response property for the response status `200`
  - removed the `METHOD_GITHUB` enum value from the `authentication/method` response property for the response status `200`
  - removed the `METHOD_JWT` enum value from the `authentication/method` response property for the response status `200`
  - …4 more

[Change history](https://skmtc.dev/flipt-io/apis/api/changes/auth/v1/method/oidc/:provider/callback/get.md)

---

[API](https://skmtc.dev/flipt-io/apis/api.md) · [All operations](https://skmtc.dev/flipt-io/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flipt-io/api/revisions/6fe4caf26f13/schema)
