Firebase OAuth Issue - Requests from this Android client application <empty> are blocked.
- Dominant language
- JavaScript
- Stars
- 967
- Forks
- 344
- Avg merge
- 8h 41m
- Merged PRs (30d)
- 9
Description
# Bug Report
I'm using cordova to wrap an angular 7 application (Google Firebase) that runs into the error
```
"Requests from this Android client application are blocked."
```
When redirecting to Facebook for OAuth. Apparently I'm not sending a package name or something? Do we need to use a browser key instead of an Android key for API credentials, or is there a right way to configure cordova for this?
### Version information
```
"dependencies": {
"cordova-android": "^7.1.4",
"cordova-ios": "^4.5.5",
"cordova-plugin-browsertab": "^0.2.0",
"cordova-plugin-buildinfo": "^2.0.2",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-customurlscheme": "^4.4.0",
"cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-inappbrowser": "^3.0.0",
"cordova-plugin-inapppurchase": "^1.2.0",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-universal-links-plugin": "^1.2.1",
"cordova-universal-links-plugin-fix": "1.2.1",
"phonegap-plugin-barcodescanner": "^8.0.1"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-geolocation": {},
"cordova-plugin-buildinfo": {},
"cordova-universal-links-plugin": {},
"cordova-plugin-browsertab": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-customurlscheme": {
"URL_SCHEME": "com.domain.app"
}
},
"platforms": [
"ios",
"android"
]
}
```
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
The report names no repository file, test, or entry point. Start by reproducing the Facebook OAuth redirect with the listed Cordova Android setup and reviewing the Firebase and Android API credential configuration; done would require a confirmed configuration fix or a specific repository-owned change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, angular, firebase, javascript
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100