Replies: 1 comment 1 reply
-
Please try out the example app. It has an API endpoint similar to what you're looking to do: https://github.com/gladly-team/next-firebase-auth/blob/main/example/pages/api/example.js If that doesn't help identify the problem, please provide a reproduction of the issue with an example app. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use firebase-admin before
setAuthCookies
but it appears as not initialized.login.js
error
if in dev mode i comment a out the code, login with an user and put the code back then it works as expected,
my assumption is that the admin app is not initialized until the first call to
setAuthCookies
is there a way to initialize it beforehand ?
Beta Was this translation helpful? Give feedback.
All reactions