OAuth Configuration

Get OAuth configuration

Changed on
get/projects/{id}/oauth/configs/{provider}

Request

  • Base URL: https://api.volcano.dev
  • URL: https://api.volcano.dev/projects/{id}/oauth/configs/{provider}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring uuid required

Project ID

provider'google' | 'github' | 'microsoft' | 'apple' | 'device' required

Query parameters

client_idstring

Required when provider=device to select a specific device client.

Response

OAuth configuration

idstring uuid
provider'google' | 'github' | 'microsoft' | 'apple' | 'device'
client_idstring
client_secretstring

Masked in responses (shows only first/last 4 chars)

enabledboolean
redirect_urlstring uri
scopesstring[]
created_atstring date-time
updated_atstring date-time

Example response

{
  "client_id": "123456789.apps.googleusercontent.com",
  "client_secret": "GOCS...****",
  "redirect_url": "https://yourapp.com/auth/callback",
  "scopes": [
    "openid",
    "email",
    "profile"
  ]
}

Changes

    • ○

      the endpoint scheme security ProjectAccessToken was added to the API

    • ▲

      added the new path request parameter id

    • ▲

      the response's body type changed from no type to object for status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status