Haroombe / ChimpPhone_App

Cosc 3380 HW4 web app for cell phone company
Apache License 2.0
1 stars 0 forks source link

User authorization #13

Closed Haroombe closed 2 days ago

Haroombe commented 3 days ago

Authenticate a user via a login page.

Ensure alongside logged in state we keep whether the user has an active phone plan or not by extending the jwt callback function

https://adilhaddaoui.com/enhancing-nextauth-sessions-custom-jwt-data-nextjs/