Hi,
I have created a cloud function in Google cloud and I will like to call the function from inside a workflow I have in power automate, the key issue is authorisation, the function is authorised using a Bearer token which expires every 1 hour, I have tried creating a refresh token that can generate a bearer token which can be used but I couldn't find a clear way of doing that and so far I have only gotten client permission error.
Does anyone have a way or know of a tutorial that shows how this authentication can be done?
Thanks for your help.
PS: It will be good if Google has an API system that can easily be used to authenticate for cases like this.