# New way to go directly to signup from PHP?

**URL:** <https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345>\
**Category:** Get Help\
**Tags:** auth0-php\
**Created:** [January 13, 2022, 12:44pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345 "2022-01-13T12:44:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![john-olav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john-olav/32/12921_2.png) [@john-olav](https://community.auth0.com/u/john-olav)\
**Post date:** [January 13, 2022, 12:44pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/1 "2022-01-13T12:44:20Z")

</div>

Please include the following information in your post:

Which SDK this is regarding: auth0-php  
SDK Version: 7.9.2  
Platform Version: PHP 8

I’ve been using this line to send a user to the signup and not the login:  
`$auth0->login(null, null, array( "screen_hint" => "signup" ));`

But this has stopped working and sends the user to login regardless. Have anything changed? Are there an alternative way of sending a user to signup?

---

<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:** [January 14, 2022, 7:04pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/3 "2022-01-14T19:04:52Z")

</div>

Hi @john-olav,

Welcome back!

Have you changed your Universal Login (UL) configuration recently? This method (`screen_hint`) only works with New UL, and will not work if you have customized the login page, turning on Classic UL.

If you can confirm you are using New UL, can you please also inspect the request and confirm that the `screen_hint` param is making it as part of the request?

---

<div class="post-metadata">

**Author:** ![john-olav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john-olav/32/12921_2.png) [@john-olav](https://community.auth0.com/u/john-olav)\
**Post date:** [January 25, 2022, 2:57pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/4 "2022-01-25T14:57:43Z")

</div>

I temporarily switched to Classic UL to see of that helped. But it didn’t.

I can confirm that I have Unversal Login and that screen\_hint is part of the request. Still goes to login and not signup.

---

<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:** [January 25, 2022, 4:09pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/5 "2022-01-25T16:09:20Z")

</div>

> [@john-olav](#):
>
> I temporarily switched to Classic UL to see of that helped. But it didn’t.

To clarify, the `screen_hint` parameter _is not expected to work with Classic UL_. I am trying to confirm that you are using New Universal Login. Can you please post a screen shot of your login page?

---

<div class="post-metadata">

**Author:** ![john-olav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john-olav/32/12921_2.png) [@john-olav](https://community.auth0.com/u/john-olav)\
**Post date:** [January 25, 2022, 4:20pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/6 "2022-01-25T16:20:31Z")

</div>

Ah, you’re right - I had " Customize Login Page" enabled, which blocked the universal login. Now it’s working.

---

<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:** [February 9, 2022, 4:20pm UTC](https://community.auth0.com/t/new-way-to-go-directly-to-signup-from-php/76345/7 "2022-02-09T16:20:52Z")

</div>

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