โ11-09-2017 08:42 AM
Iโm trying to follow the instructions here to enable access to my google drive. Per the instructions, I am using the Get REST snap and enabling the authentication. I created the google application id and got the secret.
When pumping this information into the Create Account screen (other parameters are as listed in that screenshot) and clicking the Authorize button, I am brought to a screen that asks me which of the several google accounts I have that I want to use. I do this and then a new browser table opens with the following message:
{โquery_stringโ: โstate=hostname%3Dhttps://elastic.snaplogic.com,instance_id%3Dfdc8bc74-6e29-4606-bff2-1351bb05d256&code=4/LVzTg4VmZwRFFq1gRS4HTzuKppqd3QfuRtkjcO1uz-0โ, โpathโ: โ/api/1/rest/admin/oauth2callback/restโ, โresponse_mapโ: {โerror_listโ: [{โmessageโ: "hostname in certificate didnโt match: != OR "}]}, โhttp_statusโ: โ400 Bad Requestโ, โhttp_status_codeโ: 400}
which seems to indicate a bad certificate. However, its not obvious to me that where a bad certificate should exist between SnapLogic and Google. Does anyone have an idea what I might be doing wrong?
Solved! Go to Solution.
โ11-09-2017 01:39 PM
I just realized that i was missing the โwwwโ in the Oauth2 token parameter. When I included that, I was able to successfully authenticate.
โ11-09-2017 08:56 AM
Would it be possible to show a screenshot of your REST Snap Settings (expanded) please?
โ11-09-2017 09:22 AM
I assume you wanted the account settingsโฆ
โ11-09-2017 08:58 AM
can you try checking the accept all certificates?
โ11-09-2017 09:09 AM
selecting the โtrust all certificatesโ checkbox did not help.
Here is a screenshot of the account screen. All htat is missing is the account and the secret:
Screen Shot 2017-11-09 at 9.07.28 AM