How to sync password less mobile authentication with my server

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?

Hi @saba.anwar,

Welcome to the Community!

Can you describe what you mean when you say:

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

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

You need an access token? Check out this doc:

If you are on android checkout this:

https://auth0.com/docs/quickstart/native/android/06-calling-apis

iOS:

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?

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

https://auth0.com/docs/architecture-scenarios/mobile-api

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

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?

python is backend framework.

This will show you how to validate a token:

1 Like

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