Easy user authentication with React.js and Auth0 in 10 minutes

preview_player
Показать описание
This time we go through how to apply a user authentication system in your React application using Auth0 provider.

0:00 - Start
1:30 - Install product dependency: auth0/auth0-react
1:45 - Start project in development mode
2:20 - Add paths to the default application settings on the auth0 website
3:20 - Open project in VSCode editor
7:00 - Add LogInButton and LogOutButton components to the App component. Use auth0 features to detect loading phase. With user object from auth0 library you can get the logged in user details easily.
8:29 - Final result - Log in and log out with the auth0 workflow

Рекомендации по теме
Комментарии
Автор

hey nice video! Can I add this onto another page or is it only possible within the app.js? Also, can I somehow redirect this when someone loggs in?

blacktipe
visit shbcf.ru