Swittmann
Swittmann

Reputation: 71

Actions on google - account linking

My problem with linking the account is that I don't know which of my "request contains an invalid argument" when it comes to testing my google assistant. It is for sure a problem with account linking.

My setup is:

[email protected]

passwordasplaintext

This is my configuration. I have no idea what's wrong with it.. The client id and client secret are for sure correct. Any suggestions what might cause that I'm not able to link the account?

Thanks!

Upvotes: 1

Views: 4026

Answers (1)

Prisoner
Prisoner

Reputation: 50731

While there may be other problems (it is difficult to tell), at least part of the problem is that the GSI Client ID... isn't a Client ID. It shouldn't be a URL, but should be the Client ID you make on the Credentials page of your Google API Console (not the Actions Console).

To make that Client ID:

  1. Go to the Credentials page for your project.
  2. Click the Create Credentials button.
  3. Select OAuth Client ID.

screen shot of Create Credentials -> OAuth Client ID

  1. Select Web Application.
  2. Enter a name
  3. You can skip the Authorized JavaScript Origin, but set the Authorized Redirect URI to the OAuth redirect URL, which should be in the form https://oauth-redirect.googleusercontent.com/r/your-project-id-000000 (replacing your project ID)
  4. Click Create

Web Application dialog screen shot

  1. On the Credentials page, you will see a list of OAuth 2.0 Client IDs. You'll want to get the Client ID from this table and use this in the GSI Client ID field.

OAuth 2.0 Client ID table

Upvotes: 2

Related Questions