# Can I pre-authorize passwordless auth for only certain email addresses?

**URL:** <https://community.auth0.com/t/can-i-pre-authorize-passwordless-auth-for-only-certain-email-addresses/54834>\
**Category:** Get Help\
**Created:** [December 14, 2020, 10:24pm UTC](https://community.auth0.com/t/can-i-pre-authorize-passwordless-auth-for-only-certain-email-addresses/54834 "2020-12-14T22:24:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/benton/32/26272_2.png) [@benton](https://community.auth0.com/u/benton)\
**Post date:** [December 14, 2020, 10:24pm UTC](https://community.auth0.com/t/can-i-pre-authorize-passwordless-auth-for-only-certain-email-addresses/54834/1 "2020-12-14T22:24:53Z")

</div>

Hello.

I have successfully enabled the Password-less authentication flow, but I do not want everyone in the world to be able to use the site - only a couple dozen pre-selected email addresses. I was hoping to create user accounts for these users in the Auth0 data store, and allow passwordless workflow for them _without opening up the website to the public_. But it seems any new users I create in the Auth0 UI can have only the username / password option.

Is it possible to enable password-less login flow for a limited list of users _before they sign up_, so I can keep unauthorized users from logging in via Auth0?

Thanks in advance,

- benton

---

<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:** [December 16, 2020, 7:15pm UTC](https://community.auth0.com/t/can-i-pre-authorize-passwordless-auth-for-only-certain-email-addresses/54834/4 "2020-12-16T19:15:48Z")

</div>

Hi @benton,

Welcome to the Community!

Yes, you can create a passwordless invite-only flow.

Here is the basic setup:

- Go to your passwordless connection settings, and disable signups  
 ![Screen Shot 2020-12-16 at 11.13.31 AM](https://global.discourse-cdn.com/auth0/original/3X/4/5/45953b798e2f254ceefeb1f02077acdc268ffdac.png)
- Create passwordless users via the management API `/api/v2/users` endpoint
  - Like this → `{"email":"example@example.com","connection":"email"}`

The user should receive an email invite after they are created.

Let me know if you have any questions or run into any issues.

---

<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 31, 2020, 7:15pm UTC](https://community.auth0.com/t/can-i-pre-authorize-passwordless-auth-for-only-certain-email-addresses/54834/5 "2020-12-31T19:15:51Z")

</div>

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