Help with Auth0 and Google Authentication #1880
-
I am experimenting with using Express, Auth0 and Google Authentication and have used Bati to scaffold an initial app for me. I want to restrict access to certain routes to users of a specific organization (via Google authentication). Ultimately, it would also need RBAC too which can be managed in Auth0. I have performed the initial Auth0 and Google setup for the test app but I am not sure of the correct way to integrate the authentication and authorization steps into the Vike app. Do I still use the Auth0 React SDK to make calls into Auth0 from within the +guard.ts file? Is there an example of using Vike + Auth0 + Google authentication that I can refer to? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Seems to be more of an Auth0 question than a Vike one. Let us know if you believe there is something about Vike that is blocking you. |
Beta Was this translation helpful? Give feedback.
Please try scaffolding
lucia-auth
orfirebase-auth
with Bati; both include an implementation of guard.ts.