firebase / firebase/firebase-js-sdk
Firebase Authentication signInWithRedirect using GitHub on Android causes session storage Error in some case
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Environment
* Operating System version: Android 12
* Browser version: Brave 1.43.90, Chromium 105.0.5195.102, Chrome 105.0.5195.79
* Firebase SDK version: 9.9.0
* Firebase Product: auth
### [REQUIRED] Describe the problem
[Epics Alpha](https://alpha.epics.dev)
On this website, there's Firebase Auth `signInWithRedirect` using GitHub.
iPhone works well. Some Android works well also.
Android Firefox still works well.
But some of Android and using Chrome and Brave, it causes this error below.

When the app executes `signInWithRedirect`, Android Chrome and Brave show like
`What browser do you want to use?`
And after choosing, that screenshot error happens.
It makes a new tab and I think that's why it can't access to initial storage?
Is there some way to stop choosing browser and let the browser redirecting on same tab?
Does anyone know about this case?
Please let me know if you have any information about it.
Thank you always.
Have a good day!☀
Contributor guide
Research direction
The report provides no repository file or test to start from; begin by reproducing signInWithRedirect with GitHub on Android Chrome or Brave using the reported Firebase Auth SDK version. Compare the browser-selection flow with Firefox and iPhone, then establish whether the session-storage error and new-tab behavior can be avoided or otherwise handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100