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 jacob.wang 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.