Next.js Discord

Discord Forum

next-firebase-auth-edge

Unanswered
Black-crowned Night-Heron posted this in #help-forum
Open in Discord
Black-crowned Night-HeronOP
Hi everyone, I'm currently trying out example/next13-typescript-starter from https://github.com/awinogrodzki/next-firebase-auth-edge/tree/main
My question is why is my auth/client-auth-provider.tsx user has different token than my user in auth/server-auth-provider.tsx?

My backend is separate backend (django) that will verify a token via firebase-admin to access an endpoint. I have the following questions:
1. Do you think I need auth/server-auth-providertsx?
2. Is sending token from client-auth-provider.tsx directly to backend a safe way to use this?

0 Replies