Apache CloudStack 4.19.0.0 Root Admin API Reference

registerOauthProvider

Register the OAuth2 provider in CloudStack

Request parameters

Parameter NameDescriptionRequired
clientidClient ID pre-registered in the specific OAuth providertrue
descriptionDescription of the OAuth Providertrue
providerName of the provider from the list of OAuth providers supported in CloudStacktrue
redirecturiRedirect URI pre-registered in the specific OAuth providertrue
secretkeySecret Key pre-registered in the specific OAuth providertrue
detailsAny OAuth provider details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].clientsecret=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false

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully