# Custom Auth Params for oauth2 connection on Organization Page

**URL:** <https://community.auth0.com/t/custom-auth-params-for-oauth2-connection-on-organization-page/105893>\
**Category:** Get Help\
**Tags:** other-built-in-social-connections, connections\
**Created:** [May 1, 2023, 2:34pm UTC](https://community.auth0.com/t/custom-auth-params-for-oauth2-connection-on-organization-page/105893 "2023-05-01T14:34:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason.littera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jason.littera/32/34492_2.png) [@jason.littera](https://community.auth0.com/u/jason.littera)\
**Post date:** [May 1, 2023, 2:34pm UTC](https://community.auth0.com/t/custom-auth-params-for-oauth2-connection-on-organization-page/105893/1 "2023-05-01T14:34:14Z")

</div>

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](https://community.auth0.com/t/how-to-pass-custom-parameter-to-a-custom-oauth2-connection/6709/5) 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.

---

<div class="post-metadata">

**Author:** ![jason.littera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jason.littera/32/34492_2.png) [@jason.littera](https://community.auth0.com/u/jason.littera)\
**Post date:** [May 1, 2023, 6:59pm UTC](https://community.auth0.com/t/custom-auth-params-for-oauth2-connection-on-organization-page/105893/2 "2023-05-01T18:59:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 15, 2023, 7:00pm UTC](https://community.auth0.com/t/custom-auth-params-for-oauth2-connection-on-organization-page/105893/3 "2023-05-15T19:00:09Z")

</div>

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