This article details how to get the client secret of an OpenID Connect (OIDC) application programmatically.
- OpenID Connect (OIDC)
- OAuth for Okta
- Client Secret
- Apps Endpoint
The client secret can be obtained by calling the apps endpoint, as demonstrated in List all OAuth 2.0 client secrets.
The authorization header must be written in the format 'SSWS API_KEY'.
OAuth for Okta can also be used by requesting the okta.apps.read scope. See Implement OAuth for Okta.
