# Is it possible to make exceptions for passwordless authentication?

**URL:** <https://community.auth0.com/t/is-it-possible-to-make-exceptions-for-passwordless-authentication/195765>\
**Category:** Get Help\
**Tags:** passwordless-email-connection, connections\
**Created:** [December 25, 2025, 10:23am UTC](https://community.auth0.com/t/is-it-possible-to-make-exceptions-for-passwordless-authentication/195765 "2025-12-25T10:23:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenesripranav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tenesripranav/32/77913_2.png) [@tenesripranav](https://community.auth0.com/u/tenesripranav)\
**Post date:** [December 25, 2025, 10:23am UTC](https://community.auth0.com/t/is-it-possible-to-make-exceptions-for-passwordless-authentication/195765/1 "2025-12-25T10:23:25Z")

</div>

I want all my users to go through passwordless only. except for few, that can use regular password authentication. But I am getting either username-password, If I have it connection enabled, and I have to disable it for passwordless. Anyway to allow users with passwords to go through username-password, and everyone else, who don’t have passwords at all to go through passwordless route?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [December 25, 2025, 5:29pm UTC](https://community.auth0.com/t/is-it-possible-to-make-exceptions-for-passwordless-authentication/195765/3 "2025-12-25T17:29:17Z")

</div>

Hi @tenesripranav,

Welcome to the Auth0 Community!

Your desired scenario can be implemented using custom logic within your application by checking the email entered by the user or look up their preference ( to send them either to a passwordless or username-password authentication. An instance that I can think of where this could be achieved would be setting the Identifier First Authentication, then call the Management’s API [GET /v2/users-by-email](https://auth0.com/docs/api/management/v2/users-by-email/get-users-by-email) endpoint and check if the `identities` array contains a `database` connection or check the `app_metadata` for a custom flag you’ve set (like `created_password: true`).

Then construct your `/authorize` call accordingly using the connection parameter, as mentioned in this [community post - Use both Passwordless and Password in Universal Login](https://community.auth0.com/t/use-both-passwordless-and-password-in-universal-login/130024) as well, or append it directly to a login method that corresponds to your SDK in use, such as `loginwithRedirect()`.

Another option that you might be interested in could be the [Flexible Connection Switching](https://auth0.com/docs/customize/login-pages/universal-login/customize-signup-and-login-prompts/connection-switching) feature which enables an implementation that allows users to select their preferred authentication method (database credentials or a one-time password via email or SMS) directly within the Universal Login experience.

I hope this helps, and if you have further questions please let me know.  
Thank you!  
Best regards,  
Remus

---

<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:** [January 8, 2026, 5:29pm UTC](https://community.auth0.com/t/is-it-possible-to-make-exceptions-for-passwordless-authentication/195765/4 "2026-01-08T17:29:23Z")

</div>

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