Hi, I am making a custom connector for google cloud document AI API, and the authentication type is OAuth 2.0
The problem I am facing is to refresh the access token automatically, for which I need to set the Auth URL query parameter to access_type=offline. The problem is power automate custom connectors are not supporting query parameters in the Auth URL in the security tab for authentication, and I'm getting error saying invalid client_id, but I had given the client id. Due to this limitation of custom connectors, every time the access token expires after an hour, the connection fails and the power automate flow does not work. Can anyone please help me solve this problem?

Report
All responses (
Answers (