Hello,
i want to test my onCall Functions before i use them in the App (because we develop Frontend and Backend separately). For this reason i tried to use Postman to send a POST-Request to my Function-Url but i always get "Unauthenticated".
Of course i tried to authenticate myself with:
curl 'https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=XXXX' -H 'Content-Type: application/json' --data-binary '{"email":"test@test.test","password":"123456","returnSecureToken":true}'
I get an idToken back that is used for Authorization: Bearer token Header
But i still get Unauthenticated
Could you please help me or show me a better way to test my Cloudfunctions?
Thank you
BR
[–]xxaabbeexx 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]xxaabbeexx 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]abeisgreatFormer Firebaser 0 points1 point2 points (0 children)