Apache CloudStack 4.20.0.0 Root Admin API Reference

verifyOAuthCodeAndGetUser

Verify the OAuth Code and fetch the corresponding user from provider

Request parameters

Parameter NameDescriptionRequired
providerName of the providertrue
keywordList by keywordfalse
pagefalse
pagesizefalse
secretcodeCode that is provided by OAuth provider (Eg. google, github) after successful loginfalse

Response Tags

Response NameDescription
idID of the provider
clientidClient ID registered in the OAuth provider
descriptionDescription of the provider registered
enabledWhether the OAuth provider is enabled or not
nameName of the provider
providerName of the provider
redirecturiRedirect URI registered in the OAuth provider
secretkeySecret key registered in the OAuth provider