<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Retrieve Client Secret for OIDC Apps via API
API Access Management
Okta Classic Engine
Okta Identity Engine
Overview

This article details how to get the client secret of an OpenID Connect (OIDC) application programmatically. 

Applies To
  • OpenID Connect (OIDC)
  • OAuth for Okta
  • Client Secret
  • Apps Endpoint
Solution

The client secret can be obtained by calling the apps endpoint, as demonstrated in List all OAuth 2.0 client secrets.

API Call

 

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.

 

Related References

Loading
Retrieve Client Secret for OIDC Apps via API