I am trying to integrate terraform cloud with GitHub Enterprise version.
Getting below error:
There was a problem connecting the OAuth client to the VCS provider. Please verify the URL, credentials, and permissions of the OAuth application and try again.
Github enterprise running in diff ec2 instance .
I have created new oauthapplication in Github enterprise and generated clientId and client secret.
Also, created VCS provider in terrafrom cloud and given github enterprise urls and api url and created provider.
Please suggest .what config i am missing