OAuth Configuration
Get OAuth configuration
Changed onget/projects/{id}/oauth/configs/{provider}
Request
- Base URLhttps://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
OAuth Config 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
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
id - breaking
the response's body type changed from no type to
objectfor status
9 more changes in this revision
- breaking