Melvin-Abraham / Google-Assistant-Unofficial-Desktop-Client

A cross-platform unofficial Google Assistant Client for Desktop (powered by Google Assistant SDK)
Apache License 2.0
3.6k stars 409 forks source link

(Initial) Authenication error - Unable to process request due to missing initial state.[🐛 Bug]: #866

Open MichelJe opened 1 year ago

MichelJe commented 1 year ago

What went wrong?

Intial installation and set up according to guide. On step 10 google Auth shows white page only displaying this error:

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

Tried with Chrome and Edge. Solution might be described here: Unable to process request due to missing initial state. image

Some hickups I experienced during following the guide (not sure if they are related to this issue):

Authorized JAva Scripts origins does not allow paths: image

Reset secret button not shown or maybe removed from Google Cloud image (hence created new secret "ADD SECRET", and deleted the initial one)

What did you expect to happen?

No response

Steps to reproduce the bug

Follow the installation guide

App Version

v1.1.0

OS Version

Win 10 Pro (Build 19044.2604)

Relevant Assets

No response

Pre-submission Checklist

ryukinix commented 1 year ago

I can replicate this issue today. Is there any workaround to fix that?

@MichelJe

MichelJe commented 1 year ago

Unfortunately not

Am 2. Juni 2023, 03:30, um 03:30, "Manoel V. Machado" @.***> schrieb:

I can replicate this issue today. Is there any workaround to fix that?

-- Reply to this email directly or view it on GitHub: https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/issues/866#issuecomment-1573000870 You are receiving this because you authored the thread.

Message ID: @.***>

ryukinix commented 1 year ago

Hi, @MichelJe

Probably this will help someone that is struggling with this to set up the application for the first time: https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/wiki/Frequently-Asked-Questions-(FAQ)#fix-unable-to-process-request-due-to-missing-initial-state-or-localhost-refused-to-connect

I get my google assistant application to authentication work properly by getting the authorization code directly from URL query parameter code=<code-to-copy>.