Get client_secret from OAuth Credential Object

Hello,

Is there any official way to get client_secret value for Application using Apps API?

We noticed that Okta Dev Console uses internal API that works fine, but due to it is an internal API it can be deprecated/updated without any notice.

It seems the official API response is returning the client_secret:

https://developer.okta.com/docs/reference/api/apps/#response-example-8

I also note that when I use PUT method to update existing OAuth app, it also returns the client_secret in JSON response