Ensure Service Account File Exists
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 814
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
Currently, when a service_account_file path is passed to FCM there is no check to ensure that the file exists. I propose ensuring the file exists before calling Google's oauth service.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in baseapi.py at the service_account_file handling around line 32, and trace the path before Google's OAuth service is called. Confirm the behavior for a missing service-account path and ensure existence is checked before authentication proceeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, python
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100