# Pass authorization params with Express/Passport

**URL:** <https://community.auth0.com/t/pass-authorization-params-with-express-passport/46375>\
**Category:** Get Help\
**Tags:** express, passport\
**Created:** [July 15, 2020, 9:20pm UTC](https://community.auth0.com/t/pass-authorization-params-with-express-passport/46375 "2020-07-15T21:20:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![themadhatter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/themadhatter/32/22587_2.png) [@themadhatter](https://community.auth0.com/u/themadhatter)\
**Post date:** [July 15, 2020, 9:20pm UTC](https://community.auth0.com/t/pass-authorization-params-with-express-passport/46375/1 "2020-07-15T21:20:22Z")

</div>

I have an Express app that uses Passport with the auth0 strategy. I’m trying to have 2 different endpoints for /login and /signup and would like the initial screen to be different depending on the the route the user accesses. From the docs, I know I have to pass the screen\_hint=signup param to the /authorize route but I’m not sure how to do that with passport. I’ve tried adding it when calling passport.authenticate but that doesn’t seem to work. What’s the correct way to pass additional params such as these?

---

<div class="post-metadata">

**Author:** ![colin.coutts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin.coutts/32/17217_2.png) [@colin.coutts](https://community.auth0.com/u/colin.coutts)\
**Post date:** [July 16, 2020, 10:15pm UTC](https://community.auth0.com/t/pass-authorization-params-with-express-passport/46375/2 "2020-07-16T22:15:44Z")

</div>

Hi @themadhatter and welcome to the Auth0 Community!! 🤠

I may be mistaken here but from what you’ve described it sounds like your application is redirecting the user to the hosted login page for user authentication and registration is that correct?

If that’s the case then by default the hosted login page uses Lock, which can be customized or replaced by a totally custom hosted login page. More information on that can be found here:

> **[Auth0 Universal Login](https://auth0.com/docs/authenticate/login/auth0-universal-login?_ga=2.197183977.77034545.1594653189-965216513.1592492807)**
>
> Describes how Auth0 Universal Login provides you with the means to prove your users' identities with our authorization server.

> **[Classic Universal Login Experience](https://auth0.com/docs/authenticate/login/auth0-universal-login/classic-experience)**
>
> Classic Universal Login Experience

I’d suggest having a look at that documentation, it may provide the necessary degree of customization needed for your use-case.

Best Regards,  
Colin
