After a thorough review between Clerk and Next-Auth, the decision has been made to move from Clerk to Next-Auth for auth because Next-Auth allows to manage user roles. Clerk has similar feature, which is Organization; however, this was built for project and team lead perspective. What this project wants is that Admin role can access to the dashboard to modify/update/create/view products and orders and User role can only access to the public routes of the app as well as their own account pages
After a thorough review between Clerk and Next-Auth, the decision has been made to move from Clerk to Next-Auth for auth because Next-Auth allows to manage user roles. Clerk has similar feature, which is
Organization
; however, this was built for project and team lead perspective. What this project wants is that Admin role can access to the dashboard to modify/update/create/view products and orders and User role can only access to the public routes of the app as well as their own account pages