How is it possible in firebase cloud function shell, to add authentication token, in order to test callables that require authentication ?
what is good syntax for user authentication token :
firebase > myAwsomeCallable({foo:"bar"},{"whatIsKeyforToken:"token");
Does anyone can knows a working example ? what is correct data structure for second parameter (which is context/authent in callable signature) ?
Best regards
The documentation for locally testing callable functions currently says:
Emulation of context.auth is currently unavailable.
So, what you're trying to do is currently not possible. If this is important to you, please file a feature request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With