Add Open ID Connect Settings
POST/api/v33.01/settings/oidc
x-prisma-cloud-target-env: {"permission":"authConfiguration"}
Configures the OpenID Connect settings.
For more information, see OIDC.
cURL Request
Refer to the following example cURL request:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
-d '{"enabled": true,"clientID":"0oajdm6atavfYyJfr4x6","clientSecret":{"encrypted":"rnEk+1be20FLv+BYnDX4s5/T0NOb49hkNkaZQtgiF7K2s65"},"groupScope":"groups","groupClaim":"groups","openIDIssuesURL":"https://ss-123456.okta.com","providerAlias":"oidc_okta_ss"}' \
"https://<CONSOLE>/api/v<VERSION>/settings/oidc"
Request
- application/json
Body
AuthURL specifies auth URL.
Cert is idp certificate.
ClientID is the client identifier issued to the client during the registration process.
clientSecret object
Secret Stores the plain and encrypted version of a value. The plain version is not stored in a database
Specifies an encrypted value of the secret.
Specifies the plain text value of the secret.
Enabled indicates whether Auth settings are enabled.
GroupClaim is the name of the group claim property.
GroupScope specifies name of group scope.
OpenIDIssuesURL is the base URL for OpenID connect providers.
OpenshiftBaseURL is openshift base URL.
ProviderAlias is the provider alias used for display.
Possible values: [github,openshift
]
ProviderName is the identity provider name
TokenURL specifies token URL.
UserClaim is the name of the user claim property.
Responses
- 200
- default
OK