TudorTacal / genesis

1 stars 0 forks source link

Integrate Auth0 #17

Open TudorTacal opened 6 years ago

TudorTacal commented 6 years ago

https://auth0.com/docs/quickstart/spa/vanillajs/01-login https://auth0.com/docs/application-auth/legacy/server-side-web https://auth0.com/blog/react-tutorial-building-and-securing-your-first-app/

good implementation example https://medium.appbase.io/securing-a-react-web-app-with-server-side-authentication-1b7c7dc55c16 useful post nr 2: https://steinar.io/securing-your-api-with-react-express-and-oauth/ ex3: https://davidwalsh.name/react-authentication autho github example: https://github.com/auth0-samples/auth0-react-samples/blob/master/01-Login/src/routes.js

https://auth0.com/docs/tokens

TudorTacal commented 6 years ago

What I need is client side auth with React.

TudorTacal commented 6 years ago

I receive an access token instead of a JWT.

TudorTacal commented 6 years ago

Handle user login from every page(url)