You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/core/src/errors.ts
-21
Original file line number
Diff line number
Diff line change
@@ -585,24 +585,3 @@ export class ExperimentalFeatureNotEnabled extends AuthError {
585
585
/** @internal */
586
586
statictype="ExperimentalFeatureNotEnabled"
587
587
}
588
-
589
-
/**
590
-
* - `debug-enabled`: The `debug` option was evaluated to `true`. It adds extra logs in the terminal which is useful in development,
591
-
* but since it can print sensitive information about users, make sure to set this to `false` in production.
592
-
* In Node.js environments, you can for example set `debug: process.env.NODE_ENV !== "production"`.
593
-
* Consult with your runtime/framework on how to set this value correctly.
594
-
* - `csrf-disabled`: You were trying to get a CSRF response from Auth.js (eg.: by calling a `/csrf` endpoint),
595
-
* but in this setup, CSRF protection via Auth.js was turned off. This is likely if you are not directly using `@auth/core`
596
-
* but a framework library (like `@auth/sveltekit`) that already has CSRF protection built-in. You likely won't need the CSRF response.
597
-
* - `env-url-basepath-redundant`: `AUTH_URL` (or `NEXTAUTH_URL`) and `authConfig.basePath` are both declared. This is a configuration mistake - you should either remove the `authConfig.basePath` configuration,
598
-
* or remove the `pathname` of `AUTH_URL` (or `NEXTAUTH_URL`). Only one of them is needed.
599
-
* - `env-url-basepath-mismatch`: `AUTH_URL` (or `NEXTAUTH_URL`) and `authConfig.basePath` are both declared, but they don't match. This is a configuration mistake.
600
-
* `@auth/core` will use `basePath` to construct the full URL to the corresponding action (/signin, /signout, etc.) in this case.
601
-
* - `experimental-webauthn`: Experimental WebAuthn feature is enabled.
* - `debug-enabled`: The `debug` option was evaluated to `true`. It adds extra logs in the terminal which is useful in development,
3
+
* but since it can print sensitive information about users, make sure to set this to `false` in production.
4
+
* In Node.js environments, you can for example set `debug: process.env.NODE_ENV !== "production"`.
5
+
* Consult with your runtime/framework on how to set this value correctly.
6
+
* - `csrf-disabled`: You were trying to get a CSRF response from Auth.js (eg.: by calling a `/csrf` endpoint),
7
+
* but in this setup, CSRF protection via Auth.js was turned off. This is likely if you are not directly using `@auth/core`
8
+
* but a framework library (like `@auth/sveltekit`) that already has CSRF protection built-in. You likely won't need the CSRF response.
9
+
* - `env-url-basepath-redundant`: `AUTH_URL` (or `NEXTAUTH_URL`) and `authConfig.basePath` are both declared. This is a configuration mistake - you should either remove the `authConfig.basePath` configuration,
10
+
* or remove the `pathname` of `AUTH_URL` (or `NEXTAUTH_URL`). Only one of them is needed.
11
+
* - `env-url-basepath-mismatch`: `AUTH_URL` (or `NEXTAUTH_URL`) and `authConfig.basePath` are both declared, but they don't match. This is a configuration mistake.
12
+
* `@auth/core` will use `basePath` to construct the full URL to the corresponding action (/signin, /signout, etc.) in this case.
13
+
* - `experimental-webauthn`: Experimental WebAuthn feature is enabled.
0 commit comments