One App, Two Roles: The Dual Google Provider Strategy for NextAuth.
Introduction: The Role Dilemma ?
In this post, We will be exploring how to implement dual Google authentication using NextAuth, and How this approach is useful in scenarios where user can have different roles — like in my case, building a job portal ...
nextauth-handle-multiple-google-roles.hashnode.dev6 min read