Unable to pass custom params to identity provider

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.

Any help or suggestions would be great, thank you!

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:

1 Like