Using auth0 on a static web page


I have a website built with create-react-app. It’s hosted on netlify and linked to faunaDB. I want to use Auth0 to verify a gmail address and make DB requests accordingly. I’m struggling to understand the flow tho. Since I’m using a static web page and I have no back-end, I guess it could be possible to forge a request and bypass a if (isAuthenticated) condition.
In this case, how can I get a response after Auth0 identification with an unique info that I can use permanently as credentials to access my DB.


Hey @ajeandouble and welcome to the Auth0 Community!

You might experience success accomplishing what you mention above by leveraging the new Universal Login and the Auth0-SPA-JS. Check out the linked Quickstart to get started and let me know if you run into any issues. Thanks!

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