OAuth Configuration

Get OAuth configuration

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

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

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

Query parameters

client_id, string

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

Response

OAuth configuration

OAuthConfig required
id, string uuid
provider, 'google' | 'github' | 'microsoft' | 'apple' | 'device'
client_id, string
client_secret, string

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

enabled, boolean
redirect_url, string uri
scopes, string[]
created_at, string date-time
updated_at, string 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

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter id

    • breaking

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

    9 more changes in this revision