# Passwordless email link fails due to empty redirect\_uri

**URL:** <https://community.auth0.com/t/passwordless-email-link-fails-due-to-empty-redirect-uri/9499>\
**Category:** Get Help\
**Tags:** passwordless-email, email, passwordless\
**Created:** [February 15, 2018, 5:06am UTC](https://community.auth0.com/t/passwordless-email-link-fails-due-to-empty-redirect-uri/9499 "2018-02-15T05:06:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianm\_accounts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brianm_accounts/32/7676_2.png) [@brianm\_accounts](https://community.auth0.com/u/brianm_accounts)\
**Post date:** [February 15, 2018, 5:06am UTC](https://community.auth0.com/t/passwordless-email-link-fails-due-to-empty-redirect-uri/9499/1 "2018-02-15T05:06:56Z")

</div>

I’m creating users via the Management Api. Using passwordless, this automatically causes an email to go out - that part works fine.

When I click the link, I’m getting “Oops! Something went wrong”… I can see that redirect\_uri is empty, and I assume that’s the problem. Hitting F12, I don’t see anything particularly helpful, except a request to “verify\_redirect” which is failing.

How do I set this redirect\_uri? I don’t see it in the dashboard. I am using the C# SDK, and I also don’t see it in UserCreateRequest. What am I missing?

Here’s my code:

```
        var request = new UserCreateRequest()
        {
            Connection = "email",
            Email = email,
            EmailVerified = false,
            VerifyEmail = true,
            FirstName = first,
            LastName = last,
            FullName = first + " " + last,                                
            AppMetadata = new

            {
                roles = "Admin"
            }
        };

        var result = client.Users
                           .CreateAsync(request)
                           .GetAwaiter()
                           .GetResult();

```

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 3:34pm UTC](https://community.auth0.com/t/passwordless-email-link-fails-due-to-empty-redirect-uri/9499/2 "2018-12-17T15:34:25Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 3:34pm UTC](https://community.auth0.com/t/passwordless-email-link-fails-due-to-empty-redirect-uri/9499/3 "2018-12-17T15:34:30Z")

</div>


