Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Private Config variables are available on client side #96

Closed
mnfgul opened this issue Mar 4, 2021 · 0 comments
Closed

Private Config variables are available on client side #96

mnfgul opened this issue Mar 4, 2021 · 0 comments

Comments

@mnfgul
Copy link

mnfgul commented Mar 4, 2021

Hi,
In my project I created all files same as the example project. However, I am getting "Error: Invalid next-firebase-auth options: The "firebaseAdminInitConfig" private key setting should not be available on the client side. The "cookies.keys" setting should not be available on the client side."

I suppose webpack is adding initConfig to client bundle. Is there a way to prevent this?

@gladly-team gladly-team locked and limited conversation to collaborators Mar 4, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants