SOLVED Opening OAuth URL does nothing
Since I’ve updated to version 2.5, when I try to renew my token.json by running « node auth_and_test.js » nothing happens. The « Opening OAuth URL. Return here with your code » message is here, but no browser window is opening.
Retry from terminal of the rpi and NOT from ssh connexion
@bugsounet That’s what I do, directly from the terminal of the RPI..
Is there another solution to generate this token.json ?
Of course I tried to remove node_modules, git pull, npm update, everything’s is doing fine, just this token problem
maybe there is no browser by default in your RPI because the link is open with the default browser
This post is deleted!
@bugsounet everything is setup correctly, my default browser is chromium. I tried to remove the module, git pull/npm install again, recreate new project in cloud plateform, new credentials. Nothing happens, still stuck on this « Opening OAuth... » ..
Ps : I already had it working, but I removed my token.json, that’s why I’m trying the renew
Any ideas ?
Doing the setup of the Auth token on the Google pages, download token to rpi, the the auth, opens the Google login but get msg "not authorized" also, I admit during the project registration there is no way to register the device. That page has moved and do not find it in google console services. Any idea whats the problem?
Appreciate the help.
@tcharly : i will code a new line to show the link to copy/past it in a browser
--> ok coded
npm run updateon GA directory and retry
@bert269 : I create a new account for testing
there is some new part in step 4 of the google assistant setup (OAuth content screen)
you have to publish the application.
if you don't publish it ... you are not autorized
@bugsounet big thanks, you rock !