googleapis / google-oauth-java-client

Google OAuth Client Library for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to pass additional parameter in the AAAuthorizationCodeInstalledApp.authorize method

durgadas54 opened this issue · comments

Is your feature request related to a problem? Please describe.
I want to pass access_type= offline to while authorizing the app. Or any other parameter which will be required for other service providers like yahoo or MS

AuthorizationCodeFlow builder don't have any structure to hold such values and then pass. Neither it is passed in authorize method.

Describe the solution you'd like
Add some structure may be Map, in AuthorizationCodeFlow to pass additional request parameters to AuthorizationUrl or any other call.

Hello, unfortunately, the library is in maintenance mode and feature request are not accepted.

Please use this library if you have GCP use case
Or Firebase Auth if you have mobile scenario.