Vanam saiguna

Results 5 comments of Vanam saiguna

### create file name called next-auth.d.ts ``` import NextAuth,{DefaultSession} from "next-auth" declare module 'next-auth'{ interface Session{ firebaseToken?:string; user:{ id:string; }& DefaultSession["user"] } } ``` ### create folder firebase/admin.ts **adapter for...

> In case someone else if facing the same issue, in order to authenticate the user also on the Firebase Authentication dashboard, you just need to use `createCustomToken` and `signInWithCustomToken`...

> > @GroophyLifefor did you find a solution here? > > Yeah, I found, I never use this .... again. you can use clerk better and easly also i provided...

> @Saiguna7 I tried your solution, it still was not adding users to the authentication section of firebase. > […](#) > On Thu, Jun 6, 2024 at 11:55 AM Saiguna7...

Ya but firebase is complex and old for fetching data and role and session update all are complex now I am using supabase with prisma which is very very easy...