Custom Auth Params for oauth2 connection on Organization Page

We have many organizations with custom login options. In all cases, each organization uses the google-oauth2 connection that comes out of the box. In some cases, some organizations have a custom-oauth2 connection with a different provider.

How can I have a custom-oauth2 connection enabled on some organization logins that dynamically populates an extra query parameter on the authorization call to that provider?

I came across How to pass custom parameter to a custom OAuth2 connection? - #5 by but it does not appear that landing on the org login page invokes the authParamsMap to modify the social buttons on the org login page.

I seem to have been able to solve this using the upstream_params

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.