# Passwordless connection not working

**URL:** <https://community.auth0.com/t/passwordless-connection-not-working/45066>\
**Category:** Get Help\
**Tags:** api, passwordless, auth0\
**Created:** [June 22, 2020, 11:50am UTC](https://community.auth0.com/t/passwordless-connection-not-working/45066 "2020-06-22T11:50:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![orangeuser442](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/orangeuser442/32/22090_2.png) [@orangeuser442](https://community.auth0.com/u/orangeuser442)\
**Post date:** [June 22, 2020, 11:50am UTC](https://community.auth0.com/t/passwordless-connection-not-working/45066/1 "2020-06-22T11:50:53Z")

</div>

I had set up passwordless connection to gmail. And i tried both code and link methods. on both ways i got the link and code via mail.  
but,

1. If it is via link on clicking the link to which page it should navigate? how and where to set it up?
2. If it is via code, where to enter the code to login? i could’t find any prompt for asking code.?
3. passwordless login is for already existing users or if to a new mail id i am send the link and user will be created automatically?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![colin.coutts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin.coutts/32/17217_2.png) [@colin.coutts](https://community.auth0.com/u/colin.coutts)\
**Post date:** [June 23, 2020, 7:22pm UTC](https://community.auth0.com/t/passwordless-connection-not-working/45066/2 "2020-06-23T19:22:11Z")

</div>

Hi @orangeuser442,

Thanks for contacting Auth0 Community, we’re happy to lend a hand.

Could you provide the documentation that you’ve used to set up your passwordless connection? It sounds like you’re doing a [passwordless email](https://auth0.com/docs/connections/passwordless/guides/email-otp) flow, how are you expecting the flow to work?

However to answer some of your questions:

> [@orangeuser442](#):
>
> If it is via link on clicking the link to which page it should navigate? how and where to set it up?

Here’s our documentation on magic links that should cover this topic:

> **[Passwordless Authentication with Magic Links](https://auth0.com/docs/authenticate/passwordless/authentication-methods/email-magic-link)**
>
> Learn how to use Passwordless connections with the magic link authentication factor.

> [@orangeuser442](#):
>
> If it is via code, where to enter the code to login? i could’t find any prompt for asking code.?

The above link mentions the code but basically instead of a link that automatically logs the user in, the email would contain a code that the user would input when returning to the app.

> [@orangeuser442](#):
>
> passwordless login is for already existing users or if to a new mail id i am send the link and user will be created automatically?

This will work with new or pre-existing users. Once successfully authenticating a user profile will be created.
