Next.js Discord

Discord Forum

Remove values from NextAuth Types

Blue-throated Hummingbird posted this in #help-forum
Open in Discord
Blue-throated HummingbirdOP
I'm wanting to just store a uid value in my JWT token instead of the default name, image, and email. I extended it by doing the following and get this error.

declare module "next-auth" {
    interface DefaultSession {
        user: {
            uid: string;

0 Replies