Ensure Service Account File Exists

Open Beginner friendly
#385 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
firebase, python

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.

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.

Dominant language
Python
Stars
814
Forks
209
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from olucurious/PyFCM

All issues in olucurious/PyFCM

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.