OAuth Configuration
Update OAuth configuration
Changed onput/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.
Request body
Update OAuth Config Request required
client_id, string
Supported for non-device providers. Not supported for provider=device.
client_secret, string
Supported for non-device providers. Not supported for provider=device.
redirect_url, string uri
scopes, string[]
enabled, boolean
Response
OAuth config updated
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 request's body type changed from no type to
object
15 more changes in this revision
- breaking