firebase / firebase/firebase-tools
iOS Emulator throwing Auth errors on physical device
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
v11.21.0
**firebase-tools:**
macOS
**Platform:**
macOS/Swift
### [REQUIRED] Test case
```
let settings = Firestore.firestore().settings
settings.host = "192.168.68.109:8080"
settings.isPersistenceEnabled = false
settings.isSSLEnabled = false
Firestore.firestore().settings = settings
realtime = Database.database(url: "http://192.168.68.109:9000/?ns=_project_").reference()
Auth.auth().useEmulator(withHost: "192.168.68.109", port: 9099)
Storage.storage().useEmulator(withHost: "192.168.68.109", port: 9199)
Functions.functions().useEmulator(withHost: "192.168.68.109", port: 5001)
```
### [REQUIRED] Steps to reproduce
- Run emulation server
- Run iOS client on a physical device with those configurations (Swift)
- Authenticate into the emulation server
### [REQUIRED] Expected behavior
- No errors in log
### [REQUIRED] Actual behavior
- This error prints to the console every ~20-30 seconds
` 10.4.0 - [FirebaseDatabase][I-RDB034018] Authentication failed: invalid_token (Unsupported jwt algorithm: none)`
FWIW The authentation server is actually working just fine, but it clogs up the log after a few minutes.
Contributor guide
Assessment
This issue has not been assessed yet.