Skip to content

Commit b9544df

Browse files
authored
🔄 synced local 'content/2.nuxt-auth/' with remote 'docs/content/' (#179)
Co-authored-by: sideborg <null>
1 parent 5e52aa3 commit b9544df

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

content/2.nuxt-auth/2.configuration/2.nuxt-config.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,13 @@ type ProviderLocal = {
239239
* @example 'strict'
240240
*/
241241
sameSiteAttribute?: boolean | 'lax' | 'strict' | 'none' | undefined,
242+
/**
243+
* The cookie domain. See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
244+
*
245+
* @default ''
246+
* @example sidebase.io
247+
*/
248+
cookieDomain?: string;
242249
},
243250
/**
244251
* Define an interface for the session data object that `nuxt-auth` expects to receive from the `getSession` endpoint.
@@ -376,6 +383,13 @@ type ProviderRefresh = {
376383
* @example 'strict'
377384
*/
378385
sameSiteAttribute?: boolean | 'lax' | 'strict' | 'none' | undefined,
386+
/**
387+
* The cookie domain. See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
388+
*
389+
* @default ''
390+
* @example sidebase.io
391+
*/
392+
cookieDomain?: string;
379393
},
380394
/**
381395
* Settings for the authentication-refreshToken that `nuxt-auth` receives from the `signIn` endpoint and that can be used to authenticate subsequent requests.
@@ -423,6 +437,13 @@ type ProviderRefresh = {
423437
* @example 60 * 60 * 24
424438
*/
425439
maxAgeInSeconds?: number,
440+
/**
441+
* The cookie domain. See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
442+
*
443+
* @default ''
444+
* @example sidebase.io
445+
*/
446+
cookieDomain?: string;
426447
},
427448
/**
428449
* Define an interface for the session data object that `nuxt-auth` expects to receive from the `getSession` endpoint.

0 commit comments

Comments
 (0)