# Redirect URI but only for a new signup?

**URL:** <https://community.auth0.com/t/redirect-uri-but-only-for-a-new-signup/53604>\
**Category:** Get Help\
**Created:** [November 20, 2020, 3:05pm UTC](https://community.auth0.com/t/redirect-uri-but-only-for-a-new-signup/53604 "2020-11-20T15:05:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthony3/32/25680_2.png) [@anthony3](https://community.auth0.com/u/anthony3)\
**Post date:** [November 20, 2020, 3:05pm UTC](https://community.auth0.com/t/redirect-uri-but-only-for-a-new-signup/53604/1 "2020-11-20T15:05:22Z")

</div>

I see this thread which never got an answer:

> [@Redirect after Signup auth0.js v9](https://community.auth0.com/t/redirect-after-signup-auth0-js-v9/9982):
>
> I am looking for a feature to redirect user to a specific url after signup is successful. I don’t see any way to do that from the documentation. I am using below config. var webAuth = new auth0.WebAuth({ domain: ‘@Model.Domain’, clientID: ‘@Model.ClientId’, redirectUri: ‘@Model.CallbackUrl’, responseType:‘code’ }); webAuth.signup({ connection: ‘Username-Password-Authentication’, email: registerEmail.val(), password: registerPassword.val(), state: a0state }, function (err) { if (err…

Is there any way to redirect ONLY NEW USERS to a specific page when using the “universal login” (not sure the difference between that and lock).

e.g.

- Returning users logs in
- redirected to dashboard

VS

- New user signs up
- Send them to an onboarding screen with additional steps
- Eventually they get to dashboard

Seems like the only way to do this would be to keep track in our database of who has been through onboarding and who hasn’t?

---

<div class="post-metadata">

**Author:** ![joseantonio.rey](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joseantonio.rey/32/14670_2.png) [@joseantonio.rey](https://community.auth0.com/u/joseantonio.rey)\
**Post date:** [November 20, 2020, 3:39pm UTC](https://community.auth0.com/t/redirect-uri-but-only-for-a-new-signup/53604/3 "2020-11-20T15:39:05Z")

</div>

Hello, @anthony3 - welcome to the Auth0 Community!

The intention of the Callback URL is that it should be an endpoint that handles these kinds of things. The Callback URL should receive the authentication response, process it, and then decide what to do with the user based on that response. You should not be redirecting users directly to the destination pages, but rather allowing the Callback URL to do that for you.

Hopefully this helps.

---

<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:** [December 5, 2020, 3:39pm UTC](https://community.auth0.com/t/redirect-uri-but-only-for-a-new-signup/53604/4 "2020-12-05T15:39:07Z")

</div>

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