gladly-team / next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies
https://nfa-example-git-v1x-gladly-team.vercel.app/
MIT License
1.34k stars 291 forks source link

getFirebaseAdmin() and onLoginRequestError: () => #602

Closed jamie-legg closed 1 year ago

jamie-legg commented 1 year ago

Did you have difficulty using or understanding an aspect of next-firebase-auth? I have difficulties in understanding why I am unable to access both of these methods, when they are clearly in the documentation. If I use canary.18, then I don't have access to getFirebaseAdmin

Module '"next-firebase-auth"' has no exported member 'getFirebaseAdmin'.

But if I downgrade to canary.5, then I can access this method, but then I lose onLoginRequestError

Object literal may only specify known properties, and 'onLoginRequestError' does not exist in type 'InitConfig'

What documentation would you like to add or change? I'd like clarity on which version to use and what functions are deprecated/unavailable in different versions.

Version What version of next-firebase-auth are you using? canary.18 and canary.5

jamie-legg commented 1 year ago

Closed as I found that getFirebaseAdmin is no longer supported