# Trouble redirecting users to sign up page

**URL:** <https://community.auth0.com/t/trouble-redirecting-users-to-sign-up-page/46489>\
**Category:** Get Help\
**Created:** [July 17, 2020, 5:03pm UTC](https://community.auth0.com/t/trouble-redirecting-users-to-sign-up-page/46489 "2020-07-17T17:03:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ndor/32/14256_2.png) [@ndor](https://community.auth0.com/u/ndor)\
**Post date:** [July 17, 2020, 5:03pm UTC](https://community.auth0.com/t/trouble-redirecting-users-to-sign-up-page/46489/1 "2020-07-17T17:03:48Z")

</div>

Hi there,

I can’t figure out how to pass the screen\_hint parameter /authorize to the New Universal Login experience.

I’m using the PHP quick start code to log users in:

> ```
> <?php
> 
> ```
> 
> // login.php
> 
> require ‘vendor/autoload.php’;  
> use Auth0\SDK\Auth0;
> 
> $auth0 = new Auth0([  
> ‘domain’ =\> ‘YOUR\_DOMAIN’,  
> ‘client\_id’ =\> ‘YOUR\_CLIENT\_ID’,  
> ‘client\_secret’ =\> ‘YOUR\_CLIENT\_SECRET’,  
> ‘redirect\_uri’ =\> ‘https://YOUR\_APP/callback’,  
> ‘scope’ =\> ‘openid profile email’,  
> ]);
> 
> $auth0-\>login();

(With my info in there, of course) - Any guidance greatly appreciated, I’m probably missing something right in front of me. I’ve tried a few different things I’ve seen in the forums to no avail.

---

<div class="post-metadata">

**Author:** ![ndor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ndor/32/14256_2.png) [@ndor](https://community.auth0.com/u/ndor)\
**Post date:** [July 18, 2020, 3:12pm UTC](https://community.auth0.com/t/trouble-redirecting-users-to-sign-up-page/46489/2 "2020-07-18T15:12:14Z")

</div>

I found a solution for my issue - for anyone else that is using a plain PHP implementation:

Use an html link with the correct parameters from [https://auth0.com/docs/flows/guides/auth-code/add-login-auth-code](https://auth0.com/docs/flows/guides/auth-code/add-login-auth-code) and add &screen\_hint=signup to the end.

---

<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:** [August 2, 2020, 3:12pm UTC](https://community.auth0.com/t/trouble-redirecting-users-to-sign-up-page/46489/3 "2020-08-02T15:12:18Z")

</div>

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