You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The provider doesn't work, if I choose "EU" datacenter in the config. I got following error: oauth2: server response missing access_token
I think it is because in oauth/oauth.go there is a hard coded TokenURL, and not a dinamically choosed based on the config, like in the actual CRUD actions. So the action can't run, because the authentication (getting the acces_token) happened on a different server, not on which the action tries to run.
With the "US" datacenter, everything works fine!
The text was updated successfully, but these errors were encountered:
This issue occurs when the users give the generated code for the variable "oauth2_refresh_token". Below command has to be executed for generating refresh token from grant code.
You will get a response similar to the one below.
{"access_token":"1000.abcd.abcd","refresh_token":"1000.abcd.abcd001","token_type":"Bearer","expires_in":3600}
The refresh_token in the above response should be given in the terraform configuration file.
oauth2_refresh_token = "<SITE24X7_OAUTH2_REFRESH_TOKEN>"
The provider doesn't work, if I choose "EU" datacenter in the config. I got following error:
oauth2: server response missing access_token
I think it is because in oauth/oauth.go there is a hard coded TokenURL, and not a dinamically choosed based on the config, like in the actual CRUD actions. So the action can't run, because the authentication (getting the acces_token) happened on a different server, not on which the action tries to run.
With the "US" datacenter, everything works fine!
The text was updated successfully, but these errors were encountered: