Closed jaysonng closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. If you believe it should stay open, please let us know! As always, we encourage contributions, check out the Contributing Guide
@jaysonng, In your case no need for the Client Key at all:
curl -X POST \
-H "X-Parse-Application-Id: APP_ID" \
-H "Content-Type: application/json" \
-d '{"email":"name@example.com"}' \
http://macpro.local:1337/parse/verificationEmailRequest```
I've been working on a way to resend verification email and have come up with a solution to access the REST API of the parse-server /verificationEmailRequest.
Through testing, I've got it working to basically run when the button is pressed. The thing however is it uses the client key for authorization.
however in this documentation on REST API: https://docs.parseplatform.org/rest/guide/#calling-from-client-apps it mentions
but also right after says:
Is there any security issues doing it this way? (placing the client key in the function hardcoded) Seeing as the client key is in already in SceneDelegate, I don't see why this would be an issue?
Can I ask for a feature request for this? pretty sure this is a feature a lot could use after all the sifting through posts in StackOverflow and here on Github I've seen.
thanks,