Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sign up error : Unable to process request due to missing initial state #1109

Closed
robdew opened this issue Apr 18, 2022 · 5 comments
Closed

sign up error : Unable to process request due to missing initial state #1109

robdew opened this issue Apr 18, 2022 · 5 comments

Comments

@robdew
Copy link

robdew commented Apr 18, 2022

Discord username (optional)

No response

Describe the bug

trying to sign up with github, but I get an error that the request cannot be processed.  Persists across browser restarts, blocking extensions disabled.

To Reproduce

Open warp app
click sign up
go to browser window (https://app.warp.dev/signup/remote?scheme=warp&public_beta=true)
click Sign up with Github

brief browser popup window appears, then disappears, then this message is displayed:

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

Url (somewhat redacted) is: https://astral-field-294621.firebaseapp.com/__/auth/handler?.......
I am unsure what part of the URL is sensitive information.

Expected behaviour

Github authorization page.

Screenshots

No response

Operating System

MacOS

OS Version

11.6.5

Additional context

It looks like there are similar, but not identical issues, related to Firebase logins.  I tried to make sure this wasn't a duplicate but may have missed an existing issue if it didn't include my exact error message.

I am using Firefox Multi-account containers but I have used them for years with Github authorizations/logins and never run into this error.

I can retest with another browser but that result doesn't matter to me because I can't use a one-off browser just to login to one app.
@dev4joel
Copy link

It seems like this issue.#233.

@dev4joel
Copy link

btw,
How to Troubleshooting Login Issues is here :

How to fix the confusing login flow issue is here:

How to fix the proxy issue is here:

@vorporeal
Copy link

@robdew Thanks for the report! Two questions:

  1. Mind trying again today? We made a couple changes to this flow yesterday and it's possible they resolved your issue.
  2. Any chance you're using a set of stricter security settings on Firefox that disable localStorage/the Web Storage APIs? We use Firebase for authentication and it makes use of localStorage in its auth flow.

Also, you should only have to go through this login flow once, so if you test with a different browser and it works, you shouldn't have to use that browser for login again in the future.

@robdew
Copy link
Author

robdew commented Apr 20, 2022

Same error message today.

Firefox is configured to allow, but ask me, to use persistent storage.

Here are the additional tests I added to my firefox login:

I signed out of github, because this allowed the github.com/login?client_id... popup to remain onscreen and I could see what it was asking. Before, it just popped up and disappeared because I was already signed in.

I went to https://app.warp.dev/signup/remote?scheme=warp&public_beta=true directly rather than through the Warp app.

I signed in to github successfully, then the same error message appeared.

I switched to Chrome and it works OK, so I think it is safe to write this off as a strange interaction with Firefox multiaccount containers and Firebase (since other Github auth apps work fine). I am used to the occasional quirk like this, but it rarely can't be resolved by manually changing the login workflow like I tried above.

@elviskahoro
Copy link

Should be fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants