# Wanting an advice for device detection on general authentication flow

**URL:** <https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221>\
**Category:** Get Help\
**Tags:** device, api, auth0\
**Created:** [March 29, 2021, 8:09am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221 "2021-03-29T08:09:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohei\_c](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sohei_c/32/26295_2.png) [@sohei\_c](https://community.auth0.com/u/sohei_c)\
**Post date:** [March 29, 2021, 8:09am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/1 "2021-03-29T08:09:32Z")

</div>

Dear Community members.

We are have implemented login flow with password and MFA via SMS by using the Auth0.  
And to achieve better security, we would like to add another func and having some problem…  
Could somebody help us to resolve the issue below.

**Background** :  
Normally, we let users login with one mobile device. (Smart phone, tablet and so on)  
And if user is trying to login with another device, we would like to ask user if s/he accepts the login on it.

It is something like the login flow of Apple ID, like, when user is trying to login with new device, notification is sent to another Apple device s/he owns, then ask if the login is conducted by him/herself  
and allow him/her to login once s/he accepts it.

**Problem**

We would like to achieve this by some additional operations on our server side after login completed.  
However, once the authentication is done, the access token and refresh token is sent to device via http and it can be easily intercepted by some network monitoring tools on device, I guess.

So, if possible, we would like to achieve it on the Authentication flow happening on Auth0 login page.

Could somebody give us some advice to achieve it??

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [March 31, 2021, 7:02pm UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/3 "2021-03-31T19:02:02Z")

</div>

Hi @sohei_c,

Welcome to the Community!

It sounds like MFA might be what you are looking for. You can find resources about MFA and read about how to implement it with Auth0 here:  
[https://auth0.com/docs/mfa](https://auth0.com/docs/mfa)

---

<div class="post-metadata">

**Author:** ![sohei\_c](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sohei_c/32/26295_2.png) [@sohei\_c](https://community.auth0.com/u/sohei_c)\
**Post date:** [April 1, 2021, 5:48am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/4 "2021-04-01T05:48:13Z")

</div>

Hi @stephanie.chamblee !  
Thanks for your reply!!!

I found Auth0 Guadian [here](https://auth0.com/docs/mfa/auth0-guardian).  
I guess this is what you mean here???

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 1, 2021, 10:33am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/5 "2021-04-01T10:33:48Z")

</div>

Yes, that’s right! You can use guardian or another method if you wish such as SMS.

---

<div class="post-metadata">

**Author:** ![sohei\_c](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sohei_c/32/26295_2.png) [@sohei\_c](https://community.auth0.com/u/sohei_c)\
**Post date:** [April 1, 2021, 10:58am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/6 "2021-04-01T10:58:43Z")

</div>

Thanks @stephanie.chamblee !!!  
This looks super nice.

Can this method be used with SMS MFA?  
We would like to use

- email
- SMS
- Guardian  
to protect user’s data.

Can the several options of MFA be used for the authentication??

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 1, 2021, 12:28pm UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/7 "2021-04-01T12:28:33Z")

</div>

Yes, you can enable multiple types of MFA options.

I don’t know what type of plan you have, but I realized that I forgot to let you know that built-in MFA is supported in the Developer Pro plan: [MFA Free Plan Limit - #5 by dan.woda](https://community.auth0.com/t/mfa-free-plan-limit/57884/5)

Just wanted to give you a heads up! Thank you.

---

<div class="post-metadata">

**Author:** ![sohei\_c](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sohei_c/32/26295_2.png) [@sohei\_c](https://community.auth0.com/u/sohei_c)\
**Post date:** [April 2, 2021, 2:27am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/8 "2021-04-02T02:27:08Z")

</div>

Thanks @stephanie.chamblee !!  
Great, then should be no problem with using the Guardian.  
We are already using the Production plan, so should be no. problem with using it!

I really appreciate your cooperation and thankful to the informations!!! 🙂

---

<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:** [April 17, 2021, 2:27am UTC](https://community.auth0.com/t/wanting-an-advice-for-device-detection-on-general-authentication-flow/60221/9 "2021-04-17T02:27:35Z")

</div>

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