# How to sync password less mobile authentication with my server

**URL:** <https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355>\
**Category:** Get Help\
**Created:** [July 15, 2020, 5:24pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355 "2020-07-15T17:24:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![saba.anwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saba.anwar/32/22579_2.png) [@saba.anwar](https://community.auth0.com/u/saba.anwar)\
**Post date:** [July 15, 2020, 5:24pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/1 "2020-07-15T17:24:45Z")

</div>

I need to know the flow. I am developing mobile App and using passwordless api. auth0 is used for authentication. but I also need to sync it with my server. how can I achieve this?

---

<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:** [July 17, 2020, 5:11pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/3 "2020-07-17T17:11:37Z")

</div>

Hi @saba.anwar,

Welcome to the Community!

Can you describe what you mean when you say:

> [@saba.anwar](#):
>
> sync it with my server

Typically you have a your mobile app, and a backend API that the mobile app would make requests to. In those requests you would send an access token to retrieve data.

Let me know,  
Dan

---

<div class="post-metadata">

**Author:** ![saba.anwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saba.anwar/32/22579_2.png) [@saba.anwar](https://community.auth0.com/u/saba.anwar)\
**Post date:** [July 17, 2020, 5:30pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/4 "2020-07-17T17:30:11Z")

</div>

I need my own server token after authenticate from Passwordless. for furture communication with my server.

---

<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:** [July 17, 2020, 5:40pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/5 "2020-07-17T17:40:53Z")

</div>

You need an access token? Check out this doc:

> **[Get Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens/get-access-tokens)**
>
> Learn how to request Access Tokens using the Authorize endpoint when authenticating users and include the target audience and scope of access requested by the app and granted by the user.

If you are on **android** checkout this:

[https://auth0.com/docs/quickstart/native/android/06-calling-apis](https://auth0.com/docs/quickstart/native/android/06-calling-apis)

**iOS** :

> **[Auth0 iOS / macOS SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/ios-swift)**
>
> This guide demonstrates how to integrate Auth0 with any new or existing iOS / macOS application using the Auth0.swift SDK.

---

<div class="post-metadata">

**Author:** ![saba.anwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saba.anwar/32/22579_2.png) [@saba.anwar](https://community.auth0.com/u/saba.anwar)\
**Post date:** [July 17, 2020, 5:44pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/6 "2020-07-17T17:44:13Z")

</div>

Hi Dan thank you for your response. I am developing iOS App. I am using Auth0 for login. I have successfully configured Passwordless and received token after success. I my scenario I also need to tell my server that I have successful login. how to achieve this approach?

---

<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:** [July 17, 2020, 5:51pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/7 "2020-07-17T17:51:40Z")

</div>

You will send the access token in requests to your server.

[https://auth0.com/docs/architecture-scenarios/mobile-api](https://auth0.com/docs/architecture-scenarios/mobile-api)

---

<div class="post-metadata">

**Author:** ![saba.anwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saba.anwar/32/22579_2.png) [@saba.anwar](https://community.auth0.com/u/saba.anwar)\
**Post date:** [July 17, 2020, 5:53pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/8 "2020-07-17T17:53:24Z")

</div>

But this access token will be unknown to my server. Because it is Auth0 token.

---

<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:** [July 17, 2020, 5:55pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/9 "2020-07-17T17:55:18Z")

</div>

The token is signed by auth0, which allows your server to verify that it is valid and hasn’t been tampered with.

What framework are you using for your backend?

---

<div class="post-metadata">

**Author:** ![saba.anwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saba.anwar/32/22579_2.png) [@saba.anwar](https://community.auth0.com/u/saba.anwar)\
**Post date:** [July 17, 2020, 6:19pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/10 "2020-07-17T18:19:58Z")

</div>

python is backend framework.

---

<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:** [July 17, 2020, 6:53pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/11 "2020-07-17T18:53:49Z")

</div>

This will show you how to validate a token:

> **[Auth0 Python API SDK Quickstarts: Authorization](https://auth0.com/docs/quickstart/backend/python/01-authorization#validate-access-tokens)**
>
> This tutorial demonstrates how to add authorization to a Python API built with Flask.

---

<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:** [August 1, 2020, 6:53pm UTC](https://community.auth0.com/t/how-to-sync-password-less-mobile-authentication-with-my-server/46355/12 "2020-08-01T18:53:51Z")

</div>

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