# Passwordless link on emails does not log in the user

**URL:** <https://community.auth0.com/t/passwordless-link-on-emails-does-not-log-in-the-user/85275>\
**Category:** Get Help\
**Tags:** passwordless\
**Created:** [June 17, 2022, 4:22am UTC](https://community.auth0.com/t/passwordless-link-on-emails-does-not-log-in-the-user/85275 "2022-06-17T04:22:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![codemilian](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/codemilian/32/38094_2.png) [@codemilian](https://community.auth0.com/u/codemilian)\
**Post date:** [June 17, 2022, 4:22am UTC](https://community.auth0.com/t/passwordless-link-on-emails-does-not-log-in-the-user/85275/1 "2022-06-17T04:22:13Z")

</div>

I am using the API the generate a link to allow my users to log by clicking on the link generated  
[https://auth0.com/docs/api/authentication#get-code-or-link](https://auth0.com/docs/api/authentication#get-code-or-link)  
I am able to generate the email. However, when the recipient receives the email, the link simply take the user to a log in page and not automatically logs them in. I have ensured my application has access to the passwordless database. I am not sure what else to check

---

<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 24, 2022, 6:10pm UTC](https://community.auth0.com/t/passwordless-link-on-emails-does-not-log-in-the-user/85275/3 "2022-06-24T18:10:19Z")

</div>

Hi @codemilian,

Welcome to the Auth0 Community!

Have you set up universal login for passwordless? [Configure Email or SMS for Passwordless Authentication](https://auth0.com/docs/authenticate/login/auth0-universal-login/passwordless-login/email-or-sms)

---

<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:** [May 11, 2023, 12:57pm UTC](https://community.auth0.com/t/passwordless-link-on-emails-does-not-log-in-the-user/85275/4 "2023-05-11T12:57:12Z")

</div>


