billychen0894 / florist-ecommerce-app

Florist eCommerce App built with Next.js 14
https://florist-ecommerce-app.vercel.app
0 stars 0 forks source link

Feat/auth: complete main implmentation of authN and authO #33

Closed billychen0894 closed 1 year ago

billychen0894 commented 1 year ago

This PR includes OAuth and credentials authentication and authorization, including session persistent and reissue access token using JWT strategy. Besides that, there were a few minor changes to the navigation layout for both mobile and desktop devices because this has included the popover card on avatar for logging out or accessing user accounts. Finally, the role-based authorization is implemented to protect private routes that can only be accessed through determining by the roles.