Rogers-Development-Services / Wilderness-Survival-App

​This PWA is intended to guide users in survival situations or the avid outdoor enthusiast. The Heroku hosted application will assist users in finding edible plants, list survival guides, and the ability to record notes for future endeavors.​
5 stars 1 forks source link

Online/Offline Authentication #8

Open jen6one9 opened 3 years ago

jen6one9 commented 3 years ago

As a developer, I want to research online/offline authentication so that my PWA can function as expected.

As a user, I want the ability to authenticate into this survival app.

As a user, I want to be able to sign in with Facebook and/or Google.

JonesElliott commented 3 years ago

Users are now able to log into our site using Auth0.

User account authentication is enabled but needs to be tested once LocalForage is fully integrated.

Content lock will need to be implemented prior to deployment.

Auth0 uses multiple components to handle user login / logout, & also content locking if not signed into the app.

The content lock is controlled by the Auth0Provider component which "wraps" around the app component. The ProtectedRoute component prevents users from accessing those routes without a valid signed in account.