context variable in onCall cloud functions

Integrations

I have a page which requires authentication, on page load it calls a cloud function (via a custom action)

exports.getAccounts = onCall(async (data, context) => {

I pass in some information in the data variables and it works but the context variable is null always
how do I get the firebase authentication information added to the variable. I thought that it would be added automatically. I can see that my custom id token is passed in the http header in the browser.

What have you tried so far?

I have set the page so that it requires authentication and the authentication works but I don't get the information to cloud functions where I need it

Did you check FlutterFlow's Documentation for this topic?
Yes
3
2 replies