appwrite / appwrite/appwrite

🚀 Enhancement: Validate `serviceAccountJSON` File on the Fly

Open
#7,904 0 comments 0 reactions 0 assignees View on GitHub
enhancement product / messaging
Dominant language
TypeScript
Stars
57.4k
Forks
5.7k
Avg merge
14h 50m
Merged PRs (30d)
276

Description

### 🔖 Enhancement description

At the moment, it is possible to upload a wrong, invalid or a blank JSON file for the FCM Provider. This is can later cause issues when sending a push notification.

See -

https://github.com/appwrite/appwrite/assets/20625965/bbbe01e1-e33a-4580-96fe-d0e33bb944e1

### 🎤 Pitch

Validate the `serviceAccountJSON` before uploading and creating the provider.

### 👀 Have you spent some time to check if this issue has been raised before?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.