Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
Introduced in #8281, the new default does not allow local IPs.
This is due to the fact that getClientIp
returns an ipv6 IP (::1
), whereas the masterKeyIps
default is 127.0.0.1
Steps to reproduce
Run a local instance of Parse Server alpha with Dashboard
Actual Outcome
Dashboard should load
Expected Outcome
"MasterKey is required"
Environment
Server
- Parse Server version:
alpha
- Operating system:
macos
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
localhost
Database
- System (MongoDB or Postgres):
mongo
- Database version:
5.0
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
atlas
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
js
- SDK version:
3.4.4