As per the article OAuth client secret no longer visible after creation - Genesys Cloud Resource Center
Oauth secret will be no longer available in the UI.
We create oauth clients using terraform and we need to be able to get the oauth secret and store it during the oauth creation.
Same request i found here Removal of OAuth Client Secret from API responses · Issue #1514 · MyPureCloud/terraform-provider-genesyscloud · GitHub