firebase / firebase/firebase-js-sdk

FR: Support moz-extension as well as chrome-extension.

Open
#4,002 13 comments 5 reactions 0 assignees View on GitHub
api: auth feature request
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### [REQUIRED] Describe your environment

* Operating System version: Mac OS X 10.15
* Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
* Firebase SDK version: 7.24.0
* Firebase Product: auth (auth, database, storage, etc)

Firefox extensions use the scheme moz-extension but Firebase auth only works with chrome-extension.

Maybe there needs to be a web-extension URI scheme?

Anyway. Firebase auth needs to support this as our chrome extension works fine but won't work in Firebase.

This should be a super simple fix and I can just submit a PR.

#### Steps to reproduce:

#### Relevant Code:

https://stackblitz.com/fork/firebase-issue-sandbox

```javascript
// TODO(you): code here to reproduce the problem
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.