AddGenericOAuthProvider
Add a new OAuth2 identity provider on the instance
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/admin/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?
AddEmailProviderSMTP
Explore the AddEmailProviderSMTP operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
AddGenericOIDCProvider
Explore the AddGenericOIDCProvider operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
