ctc-uci / authentication-frontend

MIT License
1 stars 0 forks source link

Protected Routes #9

Closed ZubairSidhu closed 2 years ago

ZubairSidhu commented 2 years ago

Add a wrapper around Route from react-router-dom to prevent users who aren't logged in from visiting certain pages. Also add functionality for role based access, but don't worry about implementing user roles (user roles will be stored in cookies).

See the WMK example from last year. verifyToken will be completed in a later sprint, so just add a dummy function there for now.

claudeisakeeb commented 2 years ago

/cib protected routes

ctc-devops commented 2 years ago

Branch 9-protected-routes created!