AddGenericOAuthProvider
Add a new OAuth2 identity provider in the organization
POST
application/json- body
name?nameclientId?client_idclientSecret?client_secretauthorizationEndpoint?authorization_endpointtokenEndpoint?token_endpointuserEndpoint?user_endpointscopes?array<string>idAttribute?id_attributeidentifying attribute of the user in the response of the user_endpoint
providerOptions?usePkce?use_pkceEnable the use of Proof Key for Code Exchange (PKCE) for the OAuth2 flow.
Success
application/json- response
details?id?idcurl -X POST 'https://example.com/management/v1/idps/oauth' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "details": { "sequence": 0, "creationDate": "2023-01-15T01:30:15.01Z", "changeDate": "2023-01-15T01:30:15.01Z", "resourceOwner": "string" }, "id": "string"}Was this page helpful?
