This feature is only available for team administrators.
Go to the Users Menu. In the user that you want to generate the client ID and client Secret, click on the button to edit the user's Oauth service.
In the pop-up, activate the parameter to generate the OAuth keys.
Once activated, the Client ID and Client Secret parameters will be visible. Click on the button to copy the key directly to the clipboard.