Skip to content

Commit f592ac8

Browse files
committed
fix
1 parent b05771f commit f592ac8

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

DEPRECATIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The following is a list of deprecations, according to the [Deprecation Policy](h
1616
| DEPPS10 | Encode `Parse.Object` in Cloud Function and remove option `encodeParseObjectInCloudFunction` | [#8634](https://github.com/parse-community/parse-server/issues/8634) | 6.2.0 (2023) | 9.0.0 (2026) | removed | - |
1717
| DEPPS11 | Replace `PublicAPIRouter` with `PagesRouter` | [#7625](https://github.com/parse-community/parse-server/issues/7625) | 8.0.0 (2025) | 9.0.0 (2026) | removed | - |
1818
| DEPPS12 | Database option `allowPublicExplain` defaults to `false` | [#7519](https://github.com/parse-community/parse-server/issues/7519) | 8.5.0 (2025) | 9.0.0 (2026) | removed | - |
19+
| DEPPS13 | Config option `enableInsecureAuthAdapters` defaults to `false` | [#9667](https://github.com/parse-community/parse-server/pull/9667) | 8.0.0 (2025) | 9.0.0 (2026) | removed | - |
1920

2021
[i_deprecation]: ## "The version and date of the deprecation."
2122
[i_removal]: ## "The version and date of the planned removal."

src/Deprecator/Deprecations.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@
1515
*
1616
* If there are no deprecations, this must return an empty array.
1717
*/
18-
module.exports = [
19-
{ optionKey: 'enableInsecureAuthAdapters', changeNewDefault: 'false' },
20-
];
18+
module.exports = [];

src/Options/Definitions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ module.exports.ParseServerOptions = {
244244
enableInsecureAuthAdapters: {
245245
env: 'PARSE_SERVER_ENABLE_INSECURE_AUTH_ADAPTERS',
246246
help:
247-
'Enable (or disable) insecure auth adapters, defaults to true. Insecure auth adapters are deprecated and it is recommended to disable them.',
247+
'Optional. Enables insecure authentication adapters. Insecure auth adapters are deprecated and will be removed in a future version. Defaults to `false`.',
248248
action: parsers.booleanParser,
249-
default: true,
249+
default: false,
250250
},
251251
enableSanitizedErrorResponse: {
252252
env: 'PARSE_SERVER_ENABLE_SANITIZED_ERROR_RESPONSE',

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Options/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ export interface ParseServerOptions {
167167
/* Configuration for your authentication providers, as stringified JSON. See http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
168168
:ENV: PARSE_SERVER_AUTH_PROVIDERS */
169169
auth: ?{ [string]: AuthAdapter };
170-
/* Enable (or disable) insecure auth adapters, defaults to true. Insecure auth adapters are deprecated and it is recommended to disable them.
170+
/* Optional. Enables insecure authentication adapters. Insecure auth adapters are deprecated and will be removed in a future version. Defaults to `false`.
171171
:ENV: PARSE_SERVER_ENABLE_INSECURE_AUTH_ADAPTERS
172-
:DEFAULT: true */
172+
:DEFAULT: false */
173173
enableInsecureAuthAdapters: ?boolean;
174174
/* Max file size for uploads, defaults to 20mb
175175
:DEFAULT: 20mb */

0 commit comments

Comments
 (0)