I have a Firebase cloud function that I would like to make a Callable function so that I can call it from my web clients with authentication built in. But I would also like to call it from my own back end code using the Admin SDK (specifically from Java) if that matters.
I see that the protocol is documented, but I am a little unclear how to authenticate it from the Admin SDK. I know you can create a token, but this doesn't seem to be the correct Bearer
token that the Callable function expects. How can I generate one of those? Or is there a better way to call a Callable function securely from the Admin SDK?