# Unable to pass custom params to identity provider

**URL:** <https://community.auth0.com/t/unable-to-pass-custom-params-to-identity-provider/89567>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [August 29, 2022, 8:35am UTC](https://community.auth0.com/t/unable-to-pass-custom-params-to-identity-provider/89567 "2022-08-29T08:35:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marek.zgraja](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marek.zgraja/32/33197_2.png) [@marek.zgraja](https://community.auth0.com/u/marek.zgraja)\
**Post date:** [August 29, 2022, 8:35am UTC](https://community.auth0.com/t/unable-to-pass-custom-params-to-identity-provider/89567/1 "2022-08-29T08:35:31Z")

</div>

Hi,  
I am trying to pass custom argument to identity provider when calling https://YOUR\_DOMAIN/authorize. Name of the param si “bank\_id” and I have tried appending it as normal url parameter as found in docs, also using authetication client from auth0 package and also useAuth0 hook from @auth0/auth0-react.

I prefer building the url like this, so if you can see any mistake or different way ho to past the bank\_id argument to identity provider, let me know please.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/e/4e45c38182443494c59abb5fddf9cc41b70a21e9.png)

Any help or suggestions would be great, thank you!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 30, 2022, 11:59pm UTC](https://community.auth0.com/t/unable-to-pass-custom-params-to-identity-provider/89567/3 "2022-08-30T23:59:43Z")

</div>

Hi @marek.zgraja,

Welcome to the Auth0 Community!

You need to pass the upstream params using a special parameter. This doc walks through how to set it up:

> **[Pass Parameters to Identity Providers](https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps)**
>
> Describes how to pass parameters to an Identity Provider API.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2022, 11:00pm UTC](https://community.auth0.com/t/unable-to-pass-custom-params-to-identity-provider/89567/4 "2022-09-30T23:00:30Z")

</div>


