fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Extend Google IdP to allow for parameters on the authorize URL

Open mooreds opened this issue 1 year ago • 3 comments

Extend Google IdP to allow for parameters on the authorize URL

Problem

As documented here: https://github.com/FusionAuth/fusionauth-site/pull/1563 there are time when you must append certain parameters to the Google authorize URL to allow for certain behavior, such as when prompting the user to pick from one of many google accounts.

Solution

Would be great to have a way to add this to the Google Identity Provider.

Note that it should be overrrideable as you might want different behavior with different applications.

Alternatives/workarounds

Use an OIDC provider without the discovery endpoints, as documented here: https://fusionauth.io/docs/v1/tech/identity-providers/google#custom-parameters

Additional context

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

mooreds avatar Aug 30 '22 15:08 mooreds

Is using the OIDC alternative reasonable enough such that we can close this? The purpose of the Google IdP is to make it super simple, and the OIDC should cover everything else.

robotdan avatar Aug 31 '22 14:08 robotdan

I would like to keep this open to see if the community wants this feature.

mooreds avatar Aug 31 '22 20:08 mooreds

Yes please. Even better would be to extend the Google provider so that the prompt parameter is supported directly as a first-class option via the api/console.

epbensimpson avatar Sep 08 '22 22:09 epbensimpson