[Solved] Token Problem [Google Server Problem]
-
@NemDeFrance bro please how did you fix this error ?
/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/components/auth.js:26
const oauthClient = new OAuth2Client(key.client_id, key.client_secret, key.redirect_uris[0]); -
euh … @adem, if you don’t want to read … don’t post thx
In all case, I just update the new wiki for set up credentials.
I make a temp design, and waiting for @2hdlockness (don’t worry ! no stress !)Tell me, if it’s better now
-
I just see that credentials format have some change !
So I update some EXT (EXT-GooglePhotos, EXT-YouTube, EXT-YouTubeVLC)
Update of GA and his library for catching any error on create tokenAgain, I have just updated the Temp
Consent OAuth screen
for reading code of this couple of EXTCan you test and give me if working for you now ?
I want to solve this issue and return to HARD coding of new EXTThanks for your help (it’s for you !!!)
At now … token can’t be refreshed…
just updated (again…) to new googles rules ! (EXT: GA/ GP / YT), sorry about this -
Test in my dev platform new wiki and new update
Result:
- Creating new credentials from new wiki: ok
npm run token
- From MMM-GoogleAssistant: ok
- From EXT-YouTube: ok
- From EXT-YouTubeVLC: ok
- From EXT-GooglePhotos: ok
- Refresh token after 24h
- From MMM-GoogleAssistant : ok
- From EXT-YouTube: ok
- From EXT-YouTubeVLC: ok
- From EXT-GooglePhotos: ok
- Refresh token after 7 days: to determinate
Notes:
You need to update properly Each plugin/module ! (see wiki)MMM-GoogleAssistant: v4.0.2 with new npm library of @bugsounet/googleassistant v1.3.0
EXT-YouTube: v1.0.1
EXT-YouTubeVLC: v1.0.1
EXT-GooglePhotos: v1.0.0 with new npm library of @bugsounet/google-photos v1.0.4I will close this issue, for me all is corrected
-
-
-