Auth0 Home Blog Docs

Authorization Flow native app -> Web Service


#1

Hi All,

can anyone give me a quick breakdown of the architecture/flow of authentication+authorization if i have a web app which exposes one endpoint to a mobile app which i am also developing?

Both the web app and mobile app will have logins for authentication then the endpoints will use token authorization to make api call.

What does that flow look like?


#2

Hi mb1990,

You may find this link useful - https://auth0.com/docs/architecture-scenarios/application/mobile-api
The specific flow can be found here https://auth0.com/docs/architecture-scenarios/application/mobile-api/part-1

For a mobile app calling an API, I would encourage you to use PKCE.

Please let me know if you need further assistance.

Sahil