Enforce one field based on another - kebab-case example

@verneleem FYI, I am also looking for this solution.

I want to know how can issue graphql mutations as an ADMIN from lambdas

One way I can think of is to generate a new token within the lambda calling firebaseadmin (as I am using firebase) and pass along that token but to do it inside the lambda seems overly costly to me.
Another thing I can think of is to have my own server running somewhere, send a request to that and get the admin token from there and then pass the new token in graphql requests,

but even then, how exactly to pass the authToken for graphql calls within the lambdas ?

1 Like