Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Missing or insufficient permissions" when upgrading above 9.16.0 #710

Open
MvRemmerden opened this issue Jan 9, 2024 · 2 comments
Open

Comments

@MvRemmerden
Copy link
Contributor

MvRemmerden commented Jan 9, 2024

After upgrading next-firebase-auth to 1.0.2 and following the new way of initializing the firebase app before NFA, I now get "Missing or insufficient permissions" if I use firebase 9.17.1, but it works as expected when I use 9.16.0.

Did this maybe not get caught in the example app, because there are no security rules?

@kmjennison
Copy link
Contributor

That's possible. Are you using the default Firebase app? Could you try removing all properties except apiKey from firebaseClientInitConfig in the NFA config, just to make sure NFA is using the same Firebase app that you initialize?

@MvRemmerden
Copy link
Contributor Author

@kmjennison You might be onto something here, when I remove all other properties I'm getting this error:

FirebaseError: Firebase: Firebase App named '[DEFAULT]' already exists with different options or config (app/duplicate-app).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants