Auth0 flow question

Hi!

I asked this question on the Auth0 community but didn’t get any response, maybe someone here has experience with auth0 or another related authentication flow?

I’m trying to integrate Auth0 with my Wappler login.
I’m repeatedly reading that I should only use the Access token to access my api’s, and not the Id Token.

However, I’m not planning on adding my api’s to Auth0 with scopes and permissions, as I’m managing roles and permissions in my own database for users.

Can’t I do this? :

  1. Usual authentication flow with Auth0, ID Token is returned
  2. ID Token is stored
  3. The ID token is used to identify the user in Wappler database, and with each request to server connect api, the ID token identifies the user in Wappler database and returns the permissions and roles to check from Wappler database

I hope that it what I try to do makes sense :sweat_smile:

Community Page
Last updated: