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

How can i hide config values? #42

Open
juaniarguello opened this issue Nov 27, 2020 · 2 comments
Open

How can i hide config values? #42

juaniarguello opened this issue Nov 27, 2020 · 2 comments

Comments

@juaniarguello
Copy link

One question, are the firebase config values ​​(ie the apiKey, appId, etc ..) meant to be exposed or should we hide them in some way? Thank you!

@mejustdev
Copy link

If you are using version control system like git, It is a secure way to create .env file in the root of the project and store those secrets in there. Don't forget to add .env in .gitignore

@erikswed
Copy link

They are by design not able to hide for anyone with skills to debunk your code. What you must do is infors Website restrictions and Authorised JavaScript origins from https://console.developers.google.com/apis/credentials/ So that the api key only can be used from your Doman!

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

3 participants