Hello,
I created a custom connector that uses Generic Oauth2 identity type to connect to a Google API. I am able to create a connection with my Google creds, however I have to fix the connection every hour (that aligns with the access token expiration time).
Per Google Oauth2 docs, access_type=offline is a required parameter for Google to send a refresh token in the authorize response. Is there a way to add additional parameters in the custom connector in Power Automate?
I tried meddling with the auth url (adding &access_type=offline) however that results in a malformed url as list of query params start with a '?' and Power Automate appends '?' to beginning of the first param. Appending the access_type to clientId and secret results in "invalid creds" errors. Adding this access_type parameter at the end of scope throws a bad scope error from Google since its not an accepted one.
Any thoughts on potential options?


Report
All responses (
Answers (