Extend next-auth session with drizzle adapter
I followed the steps to extend the next-auth session object with a custom userRole property. I extended the Session and User interface, I have the userRole property in my Users DB table and I include the role in the session callback in authOptions. The only type error that I am getting is from the adapter (DrizzleAdapter). But when I check the session object the role property is missing.
I've searched everywhere but I cannot figure it out or find a solution. Does anyone have the same problem or know a fix?
I've searched everywhere but I cannot figure it out or find a solution. Does anyone have the same problem or know a fix?


