I am using the Firebase Functions Shell to interactively test a callable HTTPS function. The documentation (Test functions interactively) states that I can pass a Firebase-Instance-ID-token for authentication but doesn't say how to acquire one.
Optionally, you may pass in a Firebase-Instance-ID-token as the second parameter. This must be a string.
# invoke with Instance ID token myCallableFunction('test data', {instanceIdToken: 'sample token'})
It also says,
Emulation of context.auth is currently unavailable.
Does this mean even if I pass a token my function will not receive context: { auth: uid }, etc? If so, what would be a good way to mock this for testing purposes?
FYI, I am not using Firebase Messaging.