Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fcm verification #169

Merged
merged 6 commits into from
Aug 1, 2023
Merged

feat: fcm verification #169

merged 6 commits into from
Aug 1, 2023

Conversation

HarryET
Copy link
Contributor

@HarryET HarryET commented Aug 1, 2023

Description

FCM API Keys are not validated to ensure they work with the FCM Api before the tenant is saved.

Resolves # (issue)

How Has This Been Tested?

Adding interation tests to ensure it fails on invalid API Keys, and passes on valid ones. Requires valid FCM API Key in the env vars

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@HarryET HarryET self-assigned this Aug 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2023

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Copy link
Member

@arein arein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Do we need to do something with existing invalid keys ?

@HarryET
Copy link
Contributor Author

HarryET commented Aug 1, 2023

Nice! Do we need to do something with existing invalid keys ?

I'm investigating maybe a cron job that checks once a day for invalid api keys and then suspends the projects, this would then also catch projects which invalidate their api key after submitting it

@HarryET HarryET merged commit d829e18 into main Aug 1, 2023
3 of 4 checks passed
@HarryET HarryET deleted the feat/harry/validate-fcm branch August 1, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants