I'd like to add an authorization header to my httpscallable for calling a firebase function. Currently I use:
const httpsCallable = Firebase.functions.httpsCallable('xxxxx');
httpsCallable(call_args).then(....)
But I'm trying to secure my app need to add auth tokens. How can I add an authorization header with "Bearer: ...."?
The accepted answer on this thread just says "it's possible." Does anyone know how to do it though?
Thanks!