fix apple auth and update version to 2.8.5

This commit is contained in:
2026-02-03 23:14:29 +00:00
parent ac73dab494
commit a2fba8502a
3 changed files with 6 additions and 2643 deletions

2644
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "parse-server", "name": "parse-server",
"version": "2.8.4", "version": "2.8.6",
"description": "An express module providing a Parse-compatible API server", "description": "An express module providing a Parse-compatible API server",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@@ -9,7 +9,8 @@ function validateAuthData(authData, authOptions) {
console.log("going to validate for apple"); console.log("going to validate for apple");
console.log(authData); console.log(authData);
var necessaries = ["timestamp", "salt", "id", "bundleId", "signature", "publicKeyUrl"]; var necessaries = ["timestamp", "salt", "id", "bundleId", "signature", "publicKeyUrl"];
for (var necessary in necessaries) { for (var n in necessaries) {
var necessary = necessaries[n];
if (!(necessary in authData)) { if (!(necessary in authData)) {
error("Auth data does not have property " + necessary); error("Auth data does not have property " + necessary);
} }