diff --git a/docs/pages/guides/refresh-token-rotation.mdx b/docs/pages/guides/refresh-token-rotation.mdx index 742aea4eb2..b20a4616ac 100644 --- a/docs/pages/guides/refresh-token-rotation.mdx +++ b/docs/pages/guides/refresh-token-rotation.mdx @@ -234,7 +234,7 @@ declare module "next-auth" { ### Error handling -If the token refresh was unsuccesful, we can force a re-authentication. +If the token refresh was unsuccessful, we can force a re-authentication. diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index cc34b2dcac..b6653ffe04 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -404,7 +404,7 @@ export interface InternalOptions { provider: InternalProvider csrfToken?: string /** - * `true` if the [Double-submit CSRF check](https://owasp.org/www-chapter-london/assets/slides/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf) was succesful + * `true` if the [Double-submit CSRF check](https://owasp.org/www-chapter-london/assets/slides/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf) was successful * or [`skipCSRFCheck`](https://authjs.dev/reference/core#skipcsrfcheck) was enabled. */ csrfTokenVerified?: boolean