powerauth-push-server
powerauth-push-server copied to clipboard
Add validation for credentials upload
Validate upload of credentials - after decoding from base64
- for APNS privateKeyBase64 has to be valid p8 file in PEM format
- for FCM privateKeyBase64 has to be valid json
- TBD attribute
type
should beservice_account
- TBD attribute
project_id
should be the same asproject_id
in the API - TBD attribute
private_key
should be in format -----BEGIN PRIVATE KEY-----\nbase64 key\n-----END PRIVATE KEY-----\n
- TBD attribute