Hi! I think I’m almost there with using Auth0
As this is my first time trying something with Oauth2 and I actually have no idea what I’m doing, is this approach that I took workable?
- The user logs in with Auth0, then I use the returned access token to get the user’s UID in Auth0
- I added a field in my user table for the Auth0 UID
- I query in my user table the user with the returned UID
- I log the user in Wappler’s security provider with the details from the previous step
- I update user fields with the access token, refresh token and expiry for later use
It seems to work, but :
-
Is there a way to not use Wappler’s security provider at all, and only use the access token etc?
-
What is the purpose of the “oauth2 provider” in the server connect steps?
The access_token value doesn’t return anything.
Community Page
Last updated:
Last updated: