Google-Assistant-Unofficial-Desktop-Client icon indicating copy to clipboard operation
Google-Assistant-Unofficial-Desktop-Client copied to clipboard

Not able to generate code for token

Open BlessonTh opened this issue 3 years ago • 7 comments

While following "Automatically set path" to get code for generated token, after signing in;

raises a error "Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared."

Describe the bug I cannot get the code of the token for Google-Assistant-Unofficial-Desktop-Client

To Reproduce Steps to reproduce the behavior:

  1. Go to https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&response_type=code&client_id=286042762624-cvmetjq3b3bldlv8b6lsqq09n1pjc4d4.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fbossbaby-c9469.firebaseapp.com%2F__%2Fauth%2Fhandler&flowName=GeneralOAuthFlow
  2. Need to sign in
  3. Allow
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

  • OS: [Windows 10]

Additional context Add any other context about the problem here. I was following the steps as mentioned in this (https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/wiki/Setup-Authentication-for-Google-Assistant-Unofficial-Desktop-Client#setting-authentication-in-the-app)

BlessonTh avatar Apr 26 '21 08:04 BlessonTh

This is an upstream issue probably. There's a similar issue in firebase's repo: https://github.com/firebase/firebase-js-sdk/issues/4256

Melvin-Abraham avatar May 22 '21 16:05 Melvin-Abraham

I am getting the same issue, was anyone able to find a workaround for this?

kpabba avatar Mar 16 '22 00:03 kpabba

I am getting the same issue, was anyone able to find a workaround for this?

I got this error after following a comment on #671. I managed to fix it by downloading auto-generated (Type Desktop) instead of the "Web client" one. It has the same name of the json that didn't work before (described on the issue #671) but different contents.

emiliopedrollo avatar Mar 16 '22 12:03 emiliopedrollo

@emiliopedrollo thanks so much. That worked for me too!

kpabba avatar Mar 16 '22 12:03 kpabba

@emiliopedrollo when I click on Continue, it looks like this. Did I do wrong anything? image

icebearko avatar Mar 19 '22 01:03 icebearko

@icebear2000 probably. Why is this page on localhost?

I think this should be it's own issue as it's not related to the error described on this one. Please create a new one with all the steps necessary to reproduce this behaviour.

Also, I'm glad to help when I can but I'm not a developer on this project and I'm not familiar with the ins and outs of the processes related to it. So I'm afraid I have no idea of why this is happening to you, sorry.

emiliopedrollo avatar Mar 19 '22 10:03 emiliopedrollo

@icebear2000 probably. Why is this page on localhost?

I think this should be it's own issue as it's not related to the error described on this one. Please create a new one with all the steps necessary to reproduce this behaviour.

Also, I'm glad to help when I can but I'm not a developer on this project and I'm not familiar with the ins and outs of the processes related to it. So I'm afraid I have no idea of why this is happening to you, sorry.

I have the same problem

ThomasKovala avatar Mar 20 '22 21:03 ThomasKovala