<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 Okta OIDC Apps via API

API Access Management
Okta Classic Engine
Okta Identity Engine

Overview

This article explains how to retrieve the client secret for an OpenID Connect (OIDC) application programmatically.

Applies To

  • OpenID Connect (OIDC)
  • OAuth for Okta
  • Client Secret
  • Apps Endpoint
  • Okta Classic Engine
  • Okta Identity Engine (OIE)

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
Okta Support - Retrieve Client Secret for Okta OIDC Apps via API