Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

CloudConnectorApp sync request does not work anymore #27

Open
pLeminoq opened this issue Aug 15, 2020 · 0 comments
Open

CloudConnectorApp sync request does not work anymore #27

pLeminoq opened this issue Aug 15, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pLeminoq
Copy link
Contributor

Currently the sync request does not work anymore, because the API for it has changed.
Therefore, the configuration used by the Google Assistant cannot be updated anymore.

Before the API change a unique id was added as a query parameter to the sync request uri to identify the action.
We added this id as a secure parameter for our heroku application.

With the new API the owner of the action has to generate a service account key.
I guess this key is then used for oath authentication.
The actions-on-google npm package provides an easy way to make sync request with this key.

So, I think the solution to this problem is as follows:

  1. Generate the service account key for the BCO action
  2. Add the json content of the generated key file as a secure heroku parameter
  3. User the package by google with this parameter to make the sync request
@pLeminoq pLeminoq added the bug Something isn't working label Aug 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants