# Go directly to signup from PHP?

**URL:** <https://community.auth0.com/t/go-directly-to-signup-from-php/64186>\
**Category:** Get Help\
**Tags:** auth0-php\
**Created:** [June 9, 2021, 1:03pm UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186 "2021-06-09T13:03:26Z")\
**Posts on this page:** 7\
**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:** [June 9, 2021, 1:03pm UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/1 "2021-06-09T13:03:26Z")

</div>

I’ve gone through the quick-start for using Auth0-php, and it’s working fine.

I would however like to provide a link to the user so that he can go directly to “signup” and not to login.  
Is there a signup() equivalent to $auth0-\>login()?

---

<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:** [June 9, 2021, 5:43pm UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/3 "2021-06-09T17:43:40Z")

</div>

Hi @john-olav,

Take a look at this FAQ:

[https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520](https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520)

---

<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:** [June 10, 2021, 6:46am UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/4 "2021-06-10T06:46:00Z")

</div>

Yes, I appears that I can send it in as a parameter to the login() function in Auth0.php  
This is working:

```auto
$auth0->login(null, null, array( "screen_hint" => "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:** [June 10, 2021, 5:33pm UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/5 "2021-06-10T17:33:34Z")

</div>

Great, thanks for posting an update!

---

<div class="post-metadata">

**Author:** ![evansims](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evansims/32/27011_2.png) [@evansims](https://community.auth0.com/u/evansims)\
**Post date:** [June 15, 2021, 7:10pm UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/6 "2021-06-15T19:10:17Z")

</div>

Hey @john-olav 👋 I’m the PHP SDKs developer here at Auth0. Just wanted to drop and in say sorry for the confusion, and thanks for raising this. If I were just coming to the SDK for the first time, I’d certainly have expected to see a method like that, too. I’ll be including an `Auth0::signup()` convenience method in the upcoming SDK 8.0 release to address this gap, so others don’t run into this confusion point, too.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 16, 2021, 11:16am UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/7 "2021-06-16T11:16:48Z")

</div>

Thanks for the follow-up @evansims !

---

<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:** [July 1, 2021, 11:17am UTC](https://community.auth0.com/t/go-directly-to-signup-from-php/64186/8 "2021-07-01T11:17:24Z")

</div>

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