# I want to implement a passwordless directly on Backend Side using M2M

**URL:** <https://community.auth0.com/t/i-want-to-implement-a-passwordless-directly-on-backend-side-using-m2m/120644>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [November 10, 2023, 3:23pm UTC](https://community.auth0.com/t/i-want-to-implement-a-passwordless-directly-on-backend-side-using-m2m/120644 "2023-11-10T15:23:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reinaldo.mendoza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/reinaldo.mendoza/32/49148_2.png) [@reinaldo.mendoza](https://community.auth0.com/u/reinaldo.mendoza)\
**Post date:** [November 10, 2023, 3:23pm UTC](https://community.auth0.com/t/i-want-to-implement-a-passwordless-directly-on-backend-side-using-m2m/120644/1 "2023-11-10T15:23:37Z")

</div>

I have an application where I am using the users from auth0, I create the users directly using M2M and then grant access using the resource owner endpoint to get the access token to be used around the application, in this case works perfectly, now I need to implement a frictionless way to grant access to the users, I don’t using any solution on the frontend for auth0 like Universal Login, we are using only M2M, so, my question is, can I implement passwordless flow using only M2M? I saw the passwordless/start endpoint but the code is always being sent to the email or phone through sms, is there a way to retrieve the code and implement my custom security validation, and then validates the code retrieved using the passwordless/verify to obtain the access\_token for the user?

---

<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:** [November 15, 2023, 4:50pm UTC](https://community.auth0.com/t/i-want-to-implement-a-passwordless-directly-on-backend-side-using-m2m/120644/3 "2023-11-15T16:50:23Z")

</div>

Hi @reinaldo.mendoza,

Welcome to the Auth0 Community!

Are you doing an embedded login page in your app? If so, you can use the [Using Passwordless APIs](https://auth0.com/docs/authenticate/passwordless/implement-login/embedded-login/relevant-api-endpoints) to send users OTP and then exchange for a token.

I’m a bit confused about the description “we are using only M2M, so, my question is, can I implement passwordless flow using only M2M”.

Passwordless is a user-centric flow, and **not a M2M scenario**. M2M means there is no user involved.

---

<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:** [November 29, 2023, 4:50pm UTC](https://community.auth0.com/t/i-want-to-implement-a-passwordless-directly-on-backend-side-using-m2m/120644/4 "2023-11-29T16:50:40Z")

</div>

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