Michael
TTCTheo's Typesafe Cult
•Created by Michael on 1/11/2024 in #questions
NextAuth and role based access control
Here is my full repo if anyone else is struggling to figure this out: https://github.com/DocMDC/RoleBasedAccessControlT3NextAuth
6 replies
TTCTheo's Typesafe Cult
•Created by Michael on 1/11/2024 in #questions
NextAuth and role based access control
6 replies
TTCTheo's Typesafe Cult
•Created by Michael on 1/11/2024 in #questions
NextAuth and role based access control
6 replies
TTCTheo's Typesafe Cult
•Created by Michael on 1/11/2024 in #questions
NextAuth and role based access control
I think I figured this out. The User interface needs to be in the next-auth module that's declared. I also was spreading in the profile object from the GitHubProvider which I think was not compatible with the prisma User Schema. Instead, I just grabbed the values I wanted.
6 replies