diff --git a/.version b/.version index 1ddc0f60..686bba9a 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v4.3.0 \ No newline at end of file +v4.4.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e10e38..f4a0dfc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## [v4.4.0](https://github.com/auth0/nextjs-auth0/tree/v4.4.0) (2025-04-01) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.3.0...v4.4.0) + +**Added** +- Add note about access-token endpoint to README [\#2020](https://github.com/auth0/nextjs-auth0/pull/2020) ([frederikprijck](https://github.com/frederikprijck)) +- Add support for Connection Access Token [\#2010](https://github.com/auth0/nextjs-auth0/pull/2010) ([frederikprijck](https://github.com/frederikprijck)) + +**Fixed** +- fix: Delete legacy cookie once v4 cookie is set [\#2019](https://github.com/auth0/nextjs-auth0/pull/2019) ([frederikprijck](https://github.com/frederikprijck)) +- fix: Ensure to delete cookies when switching from single to chunks and vica versa [\#2013](https://github.com/auth0/nextjs-auth0/pull/2013) ([frederikprijck](https://github.com/frederikprijck)) +- fix: Clean up cookie chunks when cookie size shrinks [\#2014](https://github.com/auth0/nextjs-auth0/pull/2014) ([frederikprijck](https://github.com/frederikprijck)) +- fix: use NEXT_PUBLIC_PROFILE_ROUTE in Auth0Provider [\#2021](https://github.com/auth0/nextjs-auth0/pull/2021) ([tusharpandey13](https://github.com/tusharpandey13)) +- fix: Ensure to pass-through enableAccessTokenEndpoint [\#2015](https://github.com/auth0/nextjs-auth0/pull/2015) ([frederikprijck](https://github.com/frederikprijck)) +- fix: Remove obsolete warning about cookie-size [\#2012](https://github.com/auth0/nextjs-auth0/pull/2012) ([frederikprijck](https://github.com/frederikprijck)) + ## [v4.3.0](https://github.com/auth0/nextjs-auth0/tree/v4.3.0) (2025-03-28) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.2.1...v4.3.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 9776f44e..f1c3f515 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJydlMtuwjAQRf9l1uZhQ/Pa0YeqSq1Y0F3VheUMxEqwke0gUZR/rwICmQYU000Wzhyd67E9ezBaOwvZV0QJY+ybgMFlhcJJrSxke4ho+1V8jZDBIi9fjNEGCJRS5ZBRlhCoTQUZiIpbi3aEbYEdnkqHhVtXQI6/IQNn80HLDo4LBEQhq9ygajNEJJ6SOCXJlCQpSRNCxzGhNPpuCESRF2Q+q13BQrN41T1xGgLx1PM8Syv0Fs0uVHUJBNhSz/YhrZVqtXDcYaiww/Q7E3+Hb2rLK5nf5ewwAU5/n+1xaCN/eHvLQqVdqN+aJresTzrHV8OV+5f+ku7PQcexF+SRi1IUXCms3vVK18EZroMBeuq/nZkQaO2nLjG893+QfiVjzJ8baO2hbWopV7U59PCsZQ/RSSuVQ7PkAu3I7TZoh9fAm/IzfTlV2IS284NNaDfRwmmD881x2t0RyOcC8jRN8wuZntTW" \ No newline at end of file +window.hierarchyData = "eJydlLtuwjAUQP/lzgZiQ5rHRulDlVox0K1isJwLsQg2sg0SRfn3KiCQaUAYlgyJj85xnNwdGK2dhfwnYYQN4ikBg7MKhZNaWch3kLDmqvgSIYdJsXg1RhsgsJCqgJyylMDaVJCDqLi1aHvYLLDd49Ju6ZYVkMNjyMHZotOwncMNAqKUVWFQNQ0JSWOSRSSLCY0iQqOMUJoSyhJC+8m0JpAkXs54uHYlCy3yVt+Iqgmksed5kVboDZptqOocuG3LIs/2Ja2Vaj5x3GGosMUEOP0dfqgNr2Rxl7PF3HbSyN9ocx7ayF/efGyh1jYUos2uaUe6wHfDlXvIf04HhNDUC3nmYiFKrhRWn3qu18ENl8EAPfP/nqEQaO23XmD4y/+HBCj7V5Rv2oy0UodJ84C/zd+OYQP/m5+gtfszVDM5X5v9gZ4aWPx0bJDKoZlxgbbntiu03UvgVfmJPh91LB4044zFg3bRxGmD49VhBN8R5HMBPXVd/wFUAgeA" \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 5cefe255..e5f24af4 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJyVl99vmzAQgP8XnqMtjdpuy1ubTl2lTolC91TlwYULWBA7s49o3dT/fQISwNg5O6/mu+8O/zjD678I4Q9G8ygpOQiMJtGeYR7No51MqxL053b8U467MppEBRdpNJ9NoiTnZapARPPXTnFXYT5dKXngKajetK1EglyKzmVwpvn2+mPS+TLAuyQBrV9kAYIQmiBhrDT80mRtR8JybAYWUEoqbU9VOx42VX253+uohUyhF4Kodp3OhZo5vg5qG9O9NCmZ1nBWayqvZoa0wlwq/pfVU1Xnf1RMoMd/PiY41QUZvOJ7lhRJzoSA8llmsvKU78apBA9cJ/IA6p0WmxglfBIHVvI0RoZAOy2S0v7kWnORBWgtktIu6+WY0cIBQ6nitKA9J8CWDI+pBnUYnvXTMW3Hw47pm0bFEoxBay5FjFKBXdVR6IJ9W326GLXdsbNnfKoAk1/0opjQrGmJ9MuOQXopEDRykdlrcXwQtBiPIEAxhOP8LqQsOCyk2PKBGN/3Ay0RMko5/fbl6mZmXD6OUNfFccrlDCDvkaZWx5zUw+EXbruoy31TTW/jAkFtWdIJbXiU4+bWuaPCzBeJu669YortAEH59I4IKkk7+f7KDY4SrmWFQJlagFJ0+6LefZVq3oYQuvAgfdibu/AA/QND5rfWVKBs1GUoo6PPOLUNFzwDQ5qUI1P4VEvqrneAZ5lxEZCFCKPSNR9mMSChPiGkpm/ToTvjXEhgmuZrIUzfoMHaoEU9E0ElMX8ILKP9N2CG38NWqlPTj9kB0h9SFtaF1LjcrO8mar8/R/9AQ+0A8LmWYsHK8o0lxUKKZsxptLBw7/m3NxmfccUy0E1XVWv4XYE+U6rNXWTWeyk0BKhb0OdeA0ulKN+PpbQHSLv1btaboblorJNgiIeI27f52PwHej+a4w==" \ No newline at end of file +window.navigationData = "eJyVl1Fv2jAQx79LntFG0dptvLV06yp1oirdU8WDmxxgJdjMvqB1U7/7FAcSOzZn82r+9/ufz/YdefmXIfzBbJrlFQeB2SjbMdxk02wri7oC/bFd/7DBbZWNspKLIptORlm+4VWhQGTTlw5xXeNm/KjknhegetKqFjlyKTqWo3PJV5/eRx1vDXid56D1syxBEEBXSBBrDb80mdtB4TGWFgWUkkr7pWrX00rVp/utiZrJAnogiHrb4UJS1+OLlZul/t5ohQCzwTNcwnFJlkbdO+QV0xpO7sRFXkyS95Hi4EeRdjVupOJ/WaNutnunmMCI2emYZKszHKLgG5aX+YYJAdWDXMs6kn5YThnccp3LPag3GuzKKOC92LOKFwtkCDTTU1LYn1xrLtYJWE9JYefNcUxooKWhUIuipDlHgQ+xG5EGtbe72bERtetpjehVo2I5LkBrLsUCpQI/qwMwJI5d9fFsMFiGzF4TQyWQ4qBnxYRmpivQmx0K6aNA0MjF2j+Lww9Jh3EHAhRDONR3JmXJYSbFiltgfNtZWCJkYDn++vnicuKM10BoaDQevYIB5KQ0uQZq0iyfOyedhj7fmdR6NBcIasXyjh6JHLhfXoWvbYKPJ46hzyGfBe5GxSNTbAsIKoYPRFAmfRVNXReABN8X0+jmMsWL4ugo4JOsEShSK6AQ3T1vXlOtTKEIYEiehE/beUiegL9lyOLURpUIG3RNihjom0Gs0SVXwFaTcGQK7xtI08X38CDXPKFxUGGUXcKTSHkI1thJvRmnQhJtzL+fNLyRJmOTDvVEBGXifsJ5RP/7zQ2/gZVUxyG2YHsofkhZegPWsMLa2GRt/08PvlptrCWIseZixqrqleXlTAqzFiR6snTu6d27mhjxka1Bm66qnuB3DfpEqr7uLLLeSaEhAd0KY+wnYIUU1dshlfYB6TA+rI06mEHjvQQHbEvCvOX78j+mpTgF" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 25ace815..b8552dae 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy9XV1z2ziy/S/yq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GJYpL/w95VWV7+8HFoWo/+Nu7iQ8VPS6iSQcoub3rWdWRzqtjpmElgkhLwBZiRhH6n4rH/F6c59vHi19OA/zYk73ZTIMF1y6ZhJgRVN7F3YXIX9CpqY9lbpjXPTw+rDK3L+eVW6KfS1f9DmPgcwkps4KrYI39pNZkSrK+1u9+InXFszdyCG7l1XZcgYtQ6i5hSMAs/SkaWw/06apxLESuE7W+gZaS25MnviQb+qjHo0E6nUmd3Eo5V3+ogEBFz1DHhCI1VeKERDwEHA4Vg9yq9FXFM0boYmZ9tFC8CJP2X0ss9O76b+riQcDj2jM87yU27yUm/r2WOZa4sLrKt6IdFnB3kei9QpTEf6oIG4gHmFmXjl/lQ81DqHW78ch6KtJzCMJp89E48UjnqZhz3pEzKFopqp+LACv3/vKM/h9BZG5oGj1UmwyzhPMkvH5A7242XhNH/b9GPWL+5jnZ/tdE7wN0orFvKRabQodNLh+2/nTVfmZ1chq+2inRbR2DplqLDYrxgtwr+810Q9z1A9zfCrtdA0QTFqu/5oxHilss6dJoOdFIObNqe7TJnhGIaQyYyax0Ivx9GFWIU51tqbCRm7ocIoKJyo9fz0E4xJvDZhbOk0jxbh4eDKGvKVfp3Sb1ZmuC+/spmqyj8HhtMKMEo4TdTFupHfKgLxcjZWSPYijZcRtt17H0QqH/WxjTnBjCYhLVcz5qoj5PmGZa60Y49jrpy6zYO74/B/eD+Jlz4mwT5lApNRTZ+cQMpklh+7LvthTDG8moWGD2sNriZ4QFswVf3X8oo01rv51YZt5Bqn/xgXuJOQZ83AoVW7GO9NuNHl9VZ+/nmVzIjEOBsyCrqWQQEaKJy8zpSK9NkrwVIaEN0s0hQZgEu1IRR8bPOb4GIpJyh0XHpmMWvudc6wF6WBpMD5Mi6eZxi7x8uaxMk+04L1U12e8eX+spKktQtOMU7H6Y7065Ae5y/dy9fbmj7/++n/vDzO/"; \ No newline at end of file diff --git a/docs/classes/errors.AccessTokenError.html b/docs/classes/errors.AccessTokenError.html index 719a763b..1d940862 100644 --- a/docs/classes/errors.AccessTokenError.html +++ b/docs/classes/errors.AccessTokenError.html @@ -1,3 +1,3 @@ -AccessTokenError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +AccessTokenError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string
+

Constructors

Properties

code: string
diff --git a/docs/classes/errors.AccessTokenForConnectionError.html b/docs/classes/errors.AccessTokenForConnectionError.html new file mode 100644 index 00000000..4e7bd8b5 --- /dev/null +++ b/docs/classes/errors.AccessTokenForConnectionError.html @@ -0,0 +1,11 @@ +AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.4.0

Error class representing an access token for connection error. +Extends the SdkError class.

+

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

cause?: OAuth2Error
code: string

The error code associated with the access token error.

+
diff --git a/docs/classes/errors.AuthorizationCodeGrantError.html b/docs/classes/errors.AuthorizationCodeGrantError.html index 140576ac..b6317c59 100644 --- a/docs/classes/errors.AuthorizationCodeGrantError.html +++ b/docs/classes/errors.AuthorizationCodeGrantError.html @@ -1,4 +1,4 @@ -AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "authorization_code_grant_error"
+

Constructors

Properties

code: string = "authorization_code_grant_error"
diff --git a/docs/classes/errors.AuthorizationError.html b/docs/classes/errors.AuthorizationError.html index bd1e4ba4..6f3268c1 100644 --- a/docs/classes/errors.AuthorizationError.html +++ b/docs/classes/errors.AuthorizationError.html @@ -1,4 +1,4 @@ -AuthorizationError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +AuthorizationError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "authorization_error"
+

Constructors

Properties

code: string = "authorization_error"
diff --git a/docs/classes/errors.BackchannelLogoutError.html b/docs/classes/errors.BackchannelLogoutError.html index 972d623f..23633f27 100644 --- a/docs/classes/errors.BackchannelLogoutError.html +++ b/docs/classes/errors.BackchannelLogoutError.html @@ -1,3 +1,3 @@ -BackchannelLogoutError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +BackchannelLogoutError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "backchannel_logout_error"
+

Constructors

Properties

code: string = "backchannel_logout_error"
diff --git a/docs/classes/errors.DiscoveryError.html b/docs/classes/errors.DiscoveryError.html index 04c18616..747c5ae8 100644 --- a/docs/classes/errors.DiscoveryError.html +++ b/docs/classes/errors.DiscoveryError.html @@ -1,3 +1,3 @@ -DiscoveryError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +DiscoveryError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "discovery_error"
+

Constructors

Properties

code: string = "discovery_error"
diff --git a/docs/classes/errors.InvalidStateError.html b/docs/classes/errors.InvalidStateError.html index 9f174d2a..d93dbbb8 100644 --- a/docs/classes/errors.InvalidStateError.html +++ b/docs/classes/errors.InvalidStateError.html @@ -1,3 +1,3 @@ -InvalidStateError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +InvalidStateError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "invalid_state"
+

Constructors

Properties

code: string = "invalid_state"
diff --git a/docs/classes/errors.MissingStateError.html b/docs/classes/errors.MissingStateError.html index 64ea02b1..d9abcf17 100644 --- a/docs/classes/errors.MissingStateError.html +++ b/docs/classes/errors.MissingStateError.html @@ -1,3 +1,3 @@ -MissingStateError | @auth0/nextjs-auth0 - v4.3.0

Hierarchy (View Summary)

Constructors

constructor +MissingStateError | @auth0/nextjs-auth0 - v4.4.0

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string = "missing_state"
+

Constructors

Properties

code: string = "missing_state"
diff --git a/docs/classes/errors.OAuth2Error.html b/docs/classes/errors.OAuth2Error.html index 0815d174..95be35e7 100644 --- a/docs/classes/errors.OAuth2Error.html +++ b/docs/classes/errors.OAuth2Error.html @@ -1,5 +1,5 @@ -OAuth2Error | @auth0/nextjs-auth0 - v4.3.0

Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. +OAuth2Error | @auth0/nextjs-auth0 - v4.4.0

Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. You should not render the error message, or error and error_description properties without properly escaping them first.

-

Hierarchy (View Summary)

Constructors

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string
+

Constructors

Properties

code: string
diff --git a/docs/classes/errors.SdkError.html b/docs/classes/errors.SdkError.html index 0b4ad173..f8be52c8 100644 --- a/docs/classes/errors.SdkError.html +++ b/docs/classes/errors.SdkError.html @@ -1,3 +1,3 @@ -SdkError | @auth0/nextjs-auth0 - v4.3.0

Class SdkErrorAbstract

Hierarchy (View Summary)

Constructors

constructor +SdkError | @auth0/nextjs-auth0 - v4.4.0

Class SdkErrorAbstract

Hierarchy (View Summary)

Constructors

Properties

Constructors

  • Parameters

    • Optionalmessage: string

    Returns SdkError

Properties

code: string
+

Constructors

  • Parameters

    • Optionalmessage: string

    Returns SdkError

Properties

code: string
diff --git a/docs/classes/server.AbstractSessionStore.html b/docs/classes/server.AbstractSessionStore.html index 5cb8edf2..9672dc7c 100644 --- a/docs/classes/server.AbstractSessionStore.html +++ b/docs/classes/server.AbstractSessionStore.html @@ -1,4 +1,4 @@ -AbstractSessionStore | @auth0/nextjs-auth0 - v4.3.0

Class AbstractSessionStoreAbstract

Constructors

constructor +AbstractSessionStore | @auth0/nextjs-auth0 - v4.4.0

Class AbstractSessionStoreAbstract

Constructors

Properties

Constructors

Properties

cookieConfig: CookieOptions
secret: string
sessionCookieName: string

Methods

  • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

    -

    Parameters

    • createdAt: number

    Returns number

  • save adds the encrypted session cookie as a Set-Cookie header. If the iat property +

Constructors

Properties

cookieConfig: CookieOptions
secret: string
sessionCookieName: string

Methods

  • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

    +

    Parameters

    • createdAt: number

    Returns number

+

Parameters

Returns Promise<void>

diff --git a/docs/classes/server.Auth0Client.html b/docs/classes/server.Auth0Client.html index bb75d1e9..49590a6c 100644 --- a/docs/classes/server.Auth0Client.html +++ b/docs/classes/server.Auth0Client.html @@ -1,22 +1,29 @@ -Auth0Client | @auth0/nextjs-auth0 - v4.3.0

Constructors

constructor +Auth0Client | @auth0/nextjs-auth0 - v4.4.0

Constructors

Methods

  • getAccessToken returns the access token.

    +

Constructors

Methods

  • getAccessToken returns the access token.

    This method can be used in Server Components, Server Actions, and Route Handlers in the App Router.

    NOTE: Server Components cannot set cookies. Calling getAccessToken() in a Server Component will cause the access token to be refreshed, if it is expired, and the updated token set will not to be persisted. It is recommended to call getAccessToken(req, res) in the middleware if you need to retrieve the access token in a Server Component to ensure the updated token set is persisted.

    -

    Returns Promise<{ expiresAt: number; token: string }>

  • getAccessToken returns the access token.

    +

    Returns Promise<{ expiresAt: number; token: string }>

  • getAccessToken returns the access token.

    This method can be used in middleware and getServerSideProps, API routes in the Pages Router.

    -

    Parameters

    Returns Promise<{ expiresAt: number; token: string }>

  • Retrieves an access token for a connection.

    This method can be used in Server Components, Server Actions, and Route Handlers in the App Router.

    -

    Returns Promise<null | SessionData>

  • getSession returns the session data for the current request.

    +

    NOTE: Server Components cannot set cookies. Calling getAccessTokenForConnection() in a Server Component will cause the access token to be refreshed, if it is expired, and the updated token set will not to be persisted. +It is recommended to call getAccessTokenForConnection(req, res) in the middleware if you need to retrieve the access token in a Server Component to ensure the updated token set is persisted.

    +

    Returns Promise<{ expiresAt: number; token: string }>

  • Retrieves an access token for a connection.

    This method can be used in middleware and getServerSideProps, API routes in the Pages Router.

    -

    Parameters

    Returns Promise<null | SessionData>

  • middleware mounts the SDK routes to run as a middleware function.

    -

    Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • middleware mounts the SDK routes to run as a middleware function.

    +

    Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • updateSession updates the session of the currently authenticated user. If the user does not have a session, an error is thrown.

    This method can be used in middleware and getServerSideProps, API routes, and middleware in the Pages Router.

    -

    Parameters

    Returns Promise<void>

  • updateSession updates the session of the currently authenticated user. If the user does not have a session, an error is thrown.

    +

    Parameters

    Returns Promise<void>

  • updateSession updates the session of the currently authenticated user. If the user does not have a session, an error is thrown.

    This method can be used in Server Actions and Route Handlers in the App Router.

    -

    Parameters

    Returns Promise<void>

+

Parameters

Returns Promise<void>

diff --git a/docs/classes/server.AuthClient.html b/docs/classes/server.AuthClient.html index 2127799b..235ab5e3 100644 --- a/docs/classes/server.AuthClient.html +++ b/docs/classes/server.AuthClient.html @@ -1,5 +1,6 @@ -AuthClient | @auth0/nextjs-auth0 - v4.3.0

Constructors

Methods

getTokenSet +AuthClient | @auth0/nextjs-auth0 - v4.4.0

Constructors

Methods

  • getTokenSet returns a valid token set. If the access token has expired, it will attempt to +

Constructors

Methods

  • Exchanges a refresh token for an access token for a connection.

    +

    This method performs a token exchange using the provided refresh token and connection details. +It first checks if the refresh token is present in the tokenSet. If not, it returns an error. +Then, it constructs the necessary parameters for the token exchange request and performs +the request to the authorization server's token endpoint.

    +

    Parameters

    Returns Promise<[AccessTokenForConnectionError, null] | [null, ConnectionTokenSet]>

    A promise that resolves to a tuple. +The first element is either an AccessTokenForConnectionError if an error occurred, or null if the request was successful. +The second element is either null if an error occurred, or a ConnectionTokenSet object +containing the access token, expiration time, and scope if the request was successful.

    +

    If the refresh token is missing or if there is an error during the token exchange process.

    +
  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

  • Parameters

    • req: NextRequest

    Returns Promise<NextResponse<unknown>>

+

Parameters

Returns Promise<[SdkError, null] | [null, TokenSet]>

diff --git a/docs/classes/server.TransactionStore.html b/docs/classes/server.TransactionStore.html index 36df52bd..86f59af1 100644 --- a/docs/classes/server.TransactionStore.html +++ b/docs/classes/server.TransactionStore.html @@ -1,8 +1,8 @@ -TransactionStore | @auth0/nextjs-auth0 - v4.3.0

TransactionStore is responsible for storing the state required to successfully complete +TransactionStore | @auth0/nextjs-auth0 - v4.4.0

TransactionStore is responsible for storing the state required to successfully complete an authentication transaction. The store relies on encrypted, stateless cookies to store the transaction state.

-

Constructors

Constructors

Methods

Constructors

Methods

  • Parameters

    • resCookies: ResponseCookies
    • state: string

    Returns Promise<void>

+

Constructors

Methods

  • Parameters

    • resCookies: ResponseCookies
    • state: string

    Returns Promise<void>

diff --git a/docs/enums/errors.AccessTokenErrorCode.html b/docs/enums/errors.AccessTokenErrorCode.html index 648e7b4b..1856f10b 100644 --- a/docs/enums/errors.AccessTokenErrorCode.html +++ b/docs/enums/errors.AccessTokenErrorCode.html @@ -1,4 +1,4 @@ -AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.3.0

Enumeration AccessTokenErrorCode

Enumeration Members

FAILED_TO_REFRESH_TOKEN +AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.4.0

Enumeration AccessTokenErrorCode

Enumeration Members

FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
MISSING_REFRESH_TOKEN: "missing_refresh_token"
MISSING_SESSION: "missing_session"
+

Enumeration Members

FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
MISSING_REFRESH_TOKEN: "missing_refresh_token"
MISSING_SESSION: "missing_session"
diff --git a/docs/enums/errors.AccessTokenForConnectionErrorCode.html b/docs/enums/errors.AccessTokenForConnectionErrorCode.html new file mode 100644 index 00000000..128ee3ce --- /dev/null +++ b/docs/enums/errors.AccessTokenForConnectionErrorCode.html @@ -0,0 +1,8 @@ +AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.4.0

Enumeration AccessTokenForConnectionErrorCode

Enum representing error codes related to access tokens for connections.

+

Enumeration Members

FAILED_TO_EXCHANGE: "failed_to_exchange_refresh_token"

Failed to exchange the refresh token.

+
MISSING_REFRESH_TOKEN: "missing_refresh_token"

The refresh token is missing.

+
MISSING_SESSION: "missing_session"

The session is missing.

+
diff --git a/docs/functions/client.Auth0Provider.html b/docs/functions/client.Auth0Provider.html index fe6c1dd6..010e628a 100644 --- a/docs/functions/client.Auth0Provider.html +++ b/docs/functions/client.Auth0Provider.html @@ -1 +1 @@ -Auth0Provider | @auth0/nextjs-auth0 - v4.3.0
+Auth0Provider | @auth0/nextjs-auth0 - v4.4.0
diff --git a/docs/functions/client.getAccessToken.html b/docs/functions/client.getAccessToken.html index 1b70b9bd..362150ef 100644 --- a/docs/functions/client.getAccessToken.html +++ b/docs/functions/client.getAccessToken.html @@ -1 +1 @@ -getAccessToken | @auth0/nextjs-auth0 - v4.3.0
+getAccessToken | @auth0/nextjs-auth0 - v4.4.0
diff --git a/docs/functions/client.useUser.html b/docs/functions/client.useUser.html index b70499eb..9c183d4a 100644 --- a/docs/functions/client.useUser.html +++ b/docs/functions/client.useUser.html @@ -1 +1 @@ -useUser | @auth0/nextjs-auth0 - v4.3.0
  • Returns
        | { error: null; isLoading: boolean; user: User }
        | { error: Error; isLoading: boolean; user: null }
        | { error: undefined; isLoading: boolean; user: undefined }

+useUser | @auth0/nextjs-auth0 - v4.4.0
  • Returns
        | { error: null; isLoading: boolean; user: User }
        | { error: Error; isLoading: boolean; user: null }
        | { error: undefined; isLoading: boolean; user: undefined }

diff --git a/docs/functions/testing.generateSessionCookie.html b/docs/functions/testing.generateSessionCookie.html index 4c73db12..4d7f1e16 100644 --- a/docs/functions/testing.generateSessionCookie.html +++ b/docs/functions/testing.generateSessionCookie.html @@ -1 +1 @@ -generateSessionCookie | @auth0/nextjs-auth0 - v4.3.0
+generateSessionCookie | @auth0/nextjs-auth0 - v4.4.0
diff --git a/docs/hierarchy.html b/docs/hierarchy.html index e41d082a..08652b15 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.3.0

@auth0/nextjs-auth0 - v4.3.0

Hierarchy Summary

+@auth0/nextjs-auth0 - v4.4.0

@auth0/nextjs-auth0 - v4.4.0

Hierarchy Summary

diff --git a/docs/index.html b/docs/index.html index 2918f32a..71db49c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -@auth0/nextjs-auth0 - v4.3.0

@auth0/nextjs-auth0 - v4.3.0

nextjs-auth0

+@auth0/nextjs-auth0 - v4.4.0

@auth0/nextjs-auth0 - v4.4.0

nextjs-auth0

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications.

Release Downloads @@ -161,6 +161,9 @@

  • /auth/access-token: the route to check the user's session and return an access token (which will be automatically refreshed if a refresh token is available)
  • /auth/backchannel-logout: the route that will receive a logout_token when a configured Back-Channel Logout initiator occurs
  • +
    Important


    +The /auth/access-token route is enabled by default, but is only neccessary when the access token is needed in the client. If this isn't something you need, you can disable this endpoint by setting enableAccessTokenEndpoint to false.

    +

    We appreciate feedback and contribution to this repo! Before you get started, please read the following:

    +

    diff --git a/docs/interfaces/types.AccessTokenForConnectionOptions.html b/docs/interfaces/types.AccessTokenForConnectionOptions.html new file mode 100644 index 00000000..795d7f5a --- /dev/null +++ b/docs/interfaces/types.AccessTokenForConnectionOptions.html @@ -0,0 +1,6 @@ +AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface AccessTokenForConnectionOptions

    Options for retrieving a connection access token.

    +
    interface AccessTokenForConnectionOptions {
        connection: string;
        login_hint?: string;
    }

    Properties

    Properties

    connection: string

    The connection name for while you want to retrieve the access token.

    +
    login_hint?: string

    An optional login hint to pass to the authorization server.

    +
    diff --git a/docs/interfaces/types.Auth0ClientOptions.html b/docs/interfaces/types.Auth0ClientOptions.html index eaccab94..e4b000cf 100644 --- a/docs/interfaces/types.Auth0ClientOptions.html +++ b/docs/interfaces/types.Auth0ClientOptions.html @@ -1,4 +1,4 @@ -Auth0ClientOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface Auth0ClientOptions

    interface Auth0ClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl?: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId?: string;
        clientSecret?: string;
        domain?: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        httpTimeout?: number;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret?: string;
        session?: SessionConfiguration;
        sessionStore?: SessionDataStore;
        signInReturnToPath?: string;
        transactionCookie?: TransactionCookieOptions;
    }

    Properties

    allowInsecureRequests? +Auth0ClientOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface Auth0ClientOptions

    interface Auth0ClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl?: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId?: string;
        clientSecret?: string;
        domain?: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        httpTimeout?: number;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret?: string;
        session?: SessionConfiguration;
        sessionStore?: SessionDataStore;
        signInReturnToPath?: string;
        transactionCookie?: TransactionCookieOptions;
    }

    Properties

    allowInsecureRequests?: boolean

    Allow insecure requests to be made to the authorization server. This can be useful when testing with a mock OIDC provider that does not support TLS, locally. This option can only be used when NODE_ENV is not set to production.

    -
    appBaseUrl?: string

    The URL of your application (e.g.: http://localhost:3000).

    +
    appBaseUrl?: string

    The URL of your application (e.g.: http://localhost:3000).

    If it's not specified, it will be loaded from the APP_BASE_URL environment variable.

    -
    authorizationParameters?: AuthorizationParameters

    Additional parameters to send to the /authorize endpoint.

    -
    beforeSessionSaved?: BeforeSessionSavedHook

    A method to manipulate the session before persisting it.

    +
    authorizationParameters?: AuthorizationParameters

    Additional parameters to send to the /authorize endpoint.

    +
    beforeSessionSaved?: BeforeSessionSavedHook

    A method to manipulate the session before persisting it.

    See beforeSessionSaved for additional details

    -
    clientAssertionSigningAlg?: string

    The algorithm used to sign the client assertion JWT. +

    clientAssertionSigningAlg?: string

    The algorithm used to sign the client assertion JWT. Uses one of token_endpoint_auth_signing_alg_values_supported if not specified. If the Authorization Server discovery document does not list token_endpoint_auth_signing_alg_values_supported this property will be required.

    -
    clientAssertionSigningKey?: string | CryptoKey

    Private key for use with private_key_jwt clients. +

    clientAssertionSigningKey?: string | CryptoKey

    Private key for use with private_key_jwt clients. This should be a string that is the contents of a PEM file or a CryptoKey.

    -
    clientId?: string

    The Auth0 client ID.

    +
    clientId?: string

    The Auth0 client ID.

    If it's not specified, it will be loaded from the AUTH0_CLIENT_ID environment variable.

    -
    clientSecret?: string

    The Auth0 client secret.

    +
    clientSecret?: string

    The Auth0 client secret.

    If it's not specified, it will be loaded from the AUTH0_CLIENT_SECRET environment variable.

    -
    domain?: string

    The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

    +
    domain?: string

    The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

    If it's not specified, it will be loaded from the AUTH0_DOMAIN environment variable.

    -
    enableAccessTokenEndpoint?: boolean

    Boolean value to enable the /auth/access-token endpoint for use in the client app.

    +
    enableAccessTokenEndpoint?: boolean

    Boolean value to enable the /auth/access-token endpoint for use in the client app.

    Defaults to true.

    NOTE: Set this to false if your client does not need to directly interact with resource servers (Token Mediating Backend). This will be false for most apps.

    A security best practice is to disable this to avoid exposing access tokens to the client app.

    See: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#name-token-mediating-backend

    -
    enableTelemetry?: boolean

    Boolean value to opt-out of sending the library name and version to your authorization server +

    enableTelemetry?: boolean

    Boolean value to opt-out of sending the library name and version to your authorization server via the Auth0-Client header. Defaults to true.

    -
    httpTimeout?: number

    Integer value for the HTTP timeout in milliseconds for authentication requests. +

    httpTimeout?: number

    Integer value for the HTTP timeout in milliseconds for authentication requests. Defaults to 5000 ms.

    -
    onCallback?: OnCallbackHook

    A method to handle errors or manage redirects after attempting to authenticate.

    +
    onCallback?: OnCallbackHook

    A method to handle errors or manage redirects after attempting to authenticate.

    See onCallback for additional details

    -
    pushedAuthorizationRequests?: boolean

    If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

    -
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >

    Configure the paths for the authentication routes.

    +
    pushedAuthorizationRequests?: boolean

    If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

    +
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >

    Configure the paths for the authentication routes.

    See Custom routes for additional details.

    -
    secret?: string

    A 32-byte, hex-encoded secret used for encrypting cookies.

    +
    secret?: string

    A 32-byte, hex-encoded secret used for encrypting cookies.

    If it's not specified, it will be loaded from the AUTH0_SECRET environment variable.

    -

    Configure the session timeouts and whether to use rolling sessions or not.

    +

    Configure the session timeouts and whether to use rolling sessions or not.

    See Session configuration for additional details.

    -
    sessionStore?: SessionDataStore

    A custom session store implementation used to persist sessions to a data store.

    +
    sessionStore?: SessionDataStore

    A custom session store implementation used to persist sessions to a data store.

    See Database sessions for additional details.

    -
    signInReturnToPath?: string

    The path to redirect the user to after successfully authenticating. Defaults to /.

    -
    transactionCookie?: TransactionCookieOptions

    Configure the transaction cookie used to store the state of the authentication transaction.

    -
    +
    signInReturnToPath?: string

    The path to redirect the user to after successfully authenticating. Defaults to /.

    +
    transactionCookie?: TransactionCookieOptions

    Configure the transaction cookie used to store the state of the authentication transaction.

    +
    diff --git a/docs/interfaces/types.AuthClientOptions.html b/docs/interfaces/types.AuthClientOptions.html index 6b9189f9..45e9c27a 100644 --- a/docs/interfaces/types.AuthClientOptions.html +++ b/docs/interfaces/types.AuthClientOptions.html @@ -1,4 +1,4 @@ -AuthClientOptions | @auth0/nextjs-auth0 - v4.3.0
    interface AuthClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId: string;
        clientSecret?: string;
        domain: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        httpTimeout?: number;
        jwksCache?: JWKSCacheInput;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret: string;
        sessionStore: AbstractSessionStore;
        signInReturnToPath?: string;
        transactionStore: TransactionStore;
    }

    Properties

    allowInsecureRequests? +AuthClientOptions | @auth0/nextjs-auth0 - v4.4.0
    interface AuthClientOptions {
        allowInsecureRequests?: boolean;
        appBaseUrl: string;
        authorizationParameters?: AuthorizationParameters;
        beforeSessionSaved?: BeforeSessionSavedHook;
        clientAssertionSigningAlg?: string;
        clientAssertionSigningKey?: string | CryptoKey;
        clientId: string;
        clientSecret?: string;
        domain: string;
        enableAccessTokenEndpoint?: boolean;
        enableTelemetry?: boolean;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        httpTimeout?: number;
        jwksCache?: JWKSCacheInput;
        onCallback?: OnCallbackHook;
        pushedAuthorizationRequests?: boolean;
        routes?: Partial<
            Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
        >;
        secret: string;
        sessionStore: AbstractSessionStore;
        signInReturnToPath?: string;
        transactionStore: TransactionStore;
    }

    Properties

    allowInsecureRequests?: boolean
    appBaseUrl: string
    authorizationParameters?: AuthorizationParameters
    beforeSessionSaved?: BeforeSessionSavedHook
    clientAssertionSigningAlg?: string
    clientAssertionSigningKey?: string | CryptoKey
    clientId: string
    clientSecret?: string
    domain: string
    enableAccessTokenEndpoint?: boolean
    enableTelemetry?: boolean
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Type declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>

    Properties

    allowInsecureRequests?: boolean
    appBaseUrl: string
    authorizationParameters?: AuthorizationParameters
    beforeSessionSaved?: BeforeSessionSavedHook
    clientAssertionSigningAlg?: string
    clientAssertionSigningKey?: string | CryptoKey
    clientId: string
    clientSecret?: string
    domain: string
    enableAccessTokenEndpoint?: boolean
    enableTelemetry?: boolean
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Type declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    httpTimeout?: number
    jwksCache?: JWKSCacheInput
    onCallback?: OnCallbackHook
    pushedAuthorizationRequests?: boolean
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    secret: string
    sessionStore: AbstractSessionStore
    signInReturnToPath?: string
    transactionStore: TransactionStore
    +

    Parameters

    Returns Promise<Response>

    httpTimeout?: number
    jwksCache?: JWKSCacheInput
    onCallback?: OnCallbackHook
    pushedAuthorizationRequests?: boolean
    routes?: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    secret: string
    sessionStore: AbstractSessionStore
    signInReturnToPath?: string
    transactionStore: TransactionStore
    diff --git a/docs/interfaces/types.AuthorizationParameters.html b/docs/interfaces/types.AuthorizationParameters.html index ad58e844..10a6daea 100644 --- a/docs/interfaces/types.AuthorizationParameters.html +++ b/docs/interfaces/types.AuthorizationParameters.html @@ -1,11 +1,11 @@ -AuthorizationParameters | @auth0/nextjs-auth0 - v4.3.0

    Interface AuthorizationParameters

    interface AuthorizationParameters {
        audience?: null | string;
        max_age?: number;
        redirect_uri?: null | string;
        scope?: null | string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional authorization parameters.

      -

    Properties

    audience? +AuthorizationParameters | @auth0/nextjs-auth0 - v4.4.0

    Interface AuthorizationParameters

    interface AuthorizationParameters {
        audience?: null | string;
        max_age?: number;
        redirect_uri?: null | string;
        scope?: null | string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional authorization parameters.

      +

    Properties

    audience?: null | string

    The unique identifier of the target API you want to access.

    -
    max_age?: number

    The maximum amount of time, in seconds, after which a user must reauthenticate.

    -
    redirect_uri?: null | string

    The URL to which the authorization server will redirect the user after granting authorization.

    -
    scope?: null | string

    The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. +

    max_age?: number

    The maximum amount of time, in seconds, after which a user must reauthenticate.

    +
    redirect_uri?: null | string

    The URL to which the authorization server will redirect the user after granting authorization.

    +
    scope?: null | string

    The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. Defaults to "openid profile email offline_access".

    -
    +
    diff --git a/docs/interfaces/types.ConnectionTokenSet.html b/docs/interfaces/types.ConnectionTokenSet.html new file mode 100644 index 00000000..a1f17ea8 --- /dev/null +++ b/docs/interfaces/types.ConnectionTokenSet.html @@ -0,0 +1,5 @@ +ConnectionTokenSet | @auth0/nextjs-auth0 - v4.4.0

    Interface ConnectionTokenSet

    interface ConnectionTokenSet {
        accessToken: string;
        connection: string;
        expiresAt: number;
        scope?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

    Properties

    accessToken: string
    connection: string
    expiresAt: number
    scope?: string
    diff --git a/docs/interfaces/types.CookieOptions.html b/docs/interfaces/types.CookieOptions.html index c24893f3..9ab7d71e 100644 --- a/docs/interfaces/types.CookieOptions.html +++ b/docs/interfaces/types.CookieOptions.html @@ -1,6 +1,6 @@ -CookieOptions | @auth0/nextjs-auth0 - v4.3.0
    interface CookieOptions {
        httpOnly: boolean;
        maxAge?: number;
        path: string;
        sameSite: "lax" | "strict" | "none";
        secure: boolean;
    }

    Properties

    httpOnly +CookieOptions | @auth0/nextjs-auth0 - v4.4.0
    interface CookieOptions {
        httpOnly: boolean;
        maxAge?: number;
        path: string;
        sameSite: "lax" | "strict" | "none";
        secure: boolean;
    }

    Properties

    httpOnly: boolean
    maxAge?: number
    path: string
    sameSite: "lax" | "strict" | "none"
    secure: boolean
    +

    Properties

    httpOnly: boolean
    maxAge?: number
    path: string
    sameSite: "lax" | "strict" | "none"
    secure: boolean
    diff --git a/docs/interfaces/types.Routes.html b/docs/interfaces/types.Routes.html index ae0fe009..ac3ed710 100644 --- a/docs/interfaces/types.Routes.html +++ b/docs/interfaces/types.Routes.html @@ -1,7 +1,7 @@ -Routes | @auth0/nextjs-auth0 - v4.3.0
    interface Routes {
        accessToken: string;
        backChannelLogout: string;
        callback: string;
        login: string;
        logout: string;
        profile: string;
    }

    Properties

    accessToken +Routes | @auth0/nextjs-auth0 - v4.4.0
    interface Routes {
        accessToken: string;
        backChannelLogout: string;
        callback: string;
        login: string;
        logout: string;
        profile: string;
    }

    Properties

    accessToken: string
    backChannelLogout: string
    callback: string
    login: string
    logout: string
    profile: string
    +

    Properties

    accessToken: string
    backChannelLogout: string
    callback: string
    login: string
    logout: string
    profile: string
    diff --git a/docs/interfaces/types.SessionConfiguration.html b/docs/interfaces/types.SessionConfiguration.html index 8f0c1171..95b8d7b6 100644 --- a/docs/interfaces/types.SessionConfiguration.html +++ b/docs/interfaces/types.SessionConfiguration.html @@ -1,16 +1,16 @@ -SessionConfiguration | @auth0/nextjs-auth0 - v4.3.0

    Interface SessionConfiguration

    interface SessionConfiguration {
        absoluteDuration?: number;
        cookie?: SessionCookieOptions;
        inactivityDuration?: number;
        rolling?: boolean;
    }

    Hierarchy (View Summary)

    Properties

    absoluteDuration? +SessionConfiguration | @auth0/nextjs-auth0 - v4.4.0

    Interface SessionConfiguration

    interface SessionConfiguration {
        absoluteDuration?: number;
        cookie?: SessionCookieOptions;
        inactivityDuration?: number;
        rolling?: boolean;
    }

    Hierarchy (View Summary)

    Properties

    absoluteDuration?: number

    The absolute duration after which the session will expire. The value must be specified in seconds..

    Once the absolute duration has been reached, the session will no longer be extended.

    Default: 3 days.

    -

    The options for the session cookie.

    -
    inactivityDuration?: number

    The duration of inactivity after which the session will expire. The value must be specified in seconds.

    +

    The options for the session cookie.

    +
    inactivityDuration?: number

    The duration of inactivity after which the session will expire. The value must be specified in seconds.

    The session will be extended as long as it was active before the inactivity duration has been reached.

    Default: 1 day.

    -
    rolling?: boolean

    A boolean indicating whether rolling sessions should be used or not.

    +
    rolling?: boolean

    A boolean indicating whether rolling sessions should be used or not.

    When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

    Default: true.

    -
    +
    diff --git a/docs/interfaces/types.SessionCookieOptions.html b/docs/interfaces/types.SessionCookieOptions.html index cea3d267..efa4dfed 100644 --- a/docs/interfaces/types.SessionCookieOptions.html +++ b/docs/interfaces/types.SessionCookieOptions.html @@ -1,10 +1,10 @@ -SessionCookieOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface SessionCookieOptions

    interface SessionCookieOptions {
        name?: string;
        sameSite?: "lax" | "strict" | "none";
        secure?: boolean;
    }

    Properties

    name? +SessionCookieOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface SessionCookieOptions

    interface SessionCookieOptions {
        name?: string;
        sameSite?: "lax" | "strict" | "none";
        secure?: boolean;
    }

    Properties

    name?: string

    The name of the session cookie.

    Default: __session.

    -
    sameSite?: "lax" | "strict" | "none"

    The sameSite attribute of the session cookie.

    +
    sameSite?: "lax" | "strict" | "none"

    The sameSite attribute of the session cookie.

    Default: lax.

    -
    secure?: boolean

    The secure attribute of the session cookie.

    +
    secure?: boolean

    The secure attribute of the session cookie.

    Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

    -
    +
    diff --git a/docs/interfaces/types.SessionData.html b/docs/interfaces/types.SessionData.html index 2d55a324..b3b19c2d 100644 --- a/docs/interfaces/types.SessionData.html +++ b/docs/interfaces/types.SessionData.html @@ -1,4 +1,5 @@ -SessionData | @auth0/nextjs-auth0 - v4.3.0
    interface SessionData {
        internal: { createdAt: number; sid: string };
        tokenSet: TokenSet;
        user: User;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

    Properties

    internal +SessionData | @auth0/nextjs-auth0 - v4.4.0
    interface SessionData {
        connectionTokenSets?: ConnectionTokenSet[];
        internal: { createdAt: number; sid: string };
        tokenSet: TokenSet;
        user: User;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

    Properties

    internal: { createdAt: number; sid: string }
    tokenSet: TokenSet
    user: User
    +

    Properties

    connectionTokenSets?: ConnectionTokenSet[]
    internal: { createdAt: number; sid: string }
    tokenSet: TokenSet
    user: User
    diff --git a/docs/interfaces/types.SessionDataStore.html b/docs/interfaces/types.SessionDataStore.html index 6e99c280..68d5aa77 100644 --- a/docs/interfaces/types.SessionDataStore.html +++ b/docs/interfaces/types.SessionDataStore.html @@ -1,9 +1,9 @@ -SessionDataStore | @auth0/nextjs-auth0 - v4.3.0
    interface SessionDataStore {
        delete(id: string): Promise<void>;
        deleteByLogoutToken(logoutToken: LogoutToken): Promise<void>;
        get(id: string): Promise<null | SessionData>;
        set(id: string, session: SessionData): Promise<void>;
    }

    Methods

    delete +SessionDataStore | @auth0/nextjs-auth0 - v4.4.0
    interface SessionDataStore {
        delete(id: string): Promise<void>;
        deleteByLogoutToken(logoutToken: LogoutToken): Promise<void>;
        get(id: string): Promise<null | SessionData>;
        set(id: string, session: SessionData): Promise<void>;
    }

    Methods

    • Destroys the session with the given session ID.

      -

      Parameters

      • id: string

      Returns Promise<void>

    • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

      -

      Parameters

      Returns Promise<void>

    +

    Parameters

    • id: string

    Returns Promise<void>

    • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

      +

      Parameters

      Returns Promise<void>

    diff --git a/docs/interfaces/types.SessionStoreOptions.html b/docs/interfaces/types.SessionStoreOptions.html index fc400b7f..702257cc 100644 --- a/docs/interfaces/types.SessionStoreOptions.html +++ b/docs/interfaces/types.SessionStoreOptions.html @@ -1,4 +1,4 @@ -SessionStoreOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface SessionStoreOptions

    interface SessionStoreOptions {
        absoluteDuration?: number;
        cookie?: SessionCookieOptions;
        cookieOptions?: SessionCookieOptions;
        inactivityDuration?: number;
        rolling?: boolean;
        secret: string;
        store?: SessionDataStore;
    }

    Hierarchy (View Summary)

    Properties

    absoluteDuration? +SessionStoreOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface SessionStoreOptions

    interface SessionStoreOptions {
        absoluteDuration?: number;
        cookie?: SessionCookieOptions;
        cookieOptions?: SessionCookieOptions;
        inactivityDuration?: number;
        rolling?: boolean;
        secret: string;
        store?: SessionDataStore;
    }

    Hierarchy (View Summary)

    Properties

    absoluteDuration?: number

    The absolute duration after which the session will expire. The value must be specified in seconds..

    Once the absolute duration has been reached, the session will no longer be extended.

    Default: 3 days.

    -

    The options for the session cookie.

    -
    cookieOptions?: SessionCookieOptions
    inactivityDuration?: number

    The duration of inactivity after which the session will expire. The value must be specified in seconds.

    +

    The options for the session cookie.

    +
    cookieOptions?: SessionCookieOptions
    inactivityDuration?: number

    The duration of inactivity after which the session will expire. The value must be specified in seconds.

    The session will be extended as long as it was active before the inactivity duration has been reached.

    Default: 1 day.

    -
    rolling?: boolean

    A boolean indicating whether rolling sessions should be used or not.

    +
    rolling?: boolean

    A boolean indicating whether rolling sessions should be used or not.

    When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

    Default: true.

    -
    secret: string
    +
    secret: string
    diff --git a/docs/interfaces/types.StartInteractiveLoginOptions.html b/docs/interfaces/types.StartInteractiveLoginOptions.html index d06e9ba2..47ac7dfe 100644 --- a/docs/interfaces/types.StartInteractiveLoginOptions.html +++ b/docs/interfaces/types.StartInteractiveLoginOptions.html @@ -1,5 +1,5 @@ -StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface StartInteractiveLoginOptions

    interface StartInteractiveLoginOptions {
        authorizationParameters?: AuthorizationParameters;
        returnTo?: string;
    }

    Properties

    authorizationParameters? +StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface StartInteractiveLoginOptions

    interface StartInteractiveLoginOptions {
        authorizationParameters?: AuthorizationParameters;
        returnTo?: string;
    }

    Properties

    authorizationParameters?: AuthorizationParameters

    Authorization parameters to be passed to the authorization server.

    -
    returnTo?: string

    The URL to redirect to after a successful login.

    -
    +
    returnTo?: string

    The URL to redirect to after a successful login.

    +
    diff --git a/docs/interfaces/types.TokenSet.html b/docs/interfaces/types.TokenSet.html index 2e9356a0..e516376b 100644 --- a/docs/interfaces/types.TokenSet.html +++ b/docs/interfaces/types.TokenSet.html @@ -1,6 +1,6 @@ -TokenSet | @auth0/nextjs-auth0 - v4.3.0
    interface TokenSet {
        accessToken: string;
        expiresAt: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
    }

    Properties

    accessToken +TokenSet | @auth0/nextjs-auth0 - v4.4.0
    interface TokenSet {
        accessToken: string;
        expiresAt: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
    }

    Properties

    accessToken: string
    expiresAt: number
    idToken?: string
    refreshToken?: string
    scope?: string
    +

    Properties

    accessToken: string
    expiresAt: number
    idToken?: string
    refreshToken?: string
    scope?: string
    diff --git a/docs/interfaces/types.TransactionCookieOptions.html b/docs/interfaces/types.TransactionCookieOptions.html index 7d1a07a4..d22c9098 100644 --- a/docs/interfaces/types.TransactionCookieOptions.html +++ b/docs/interfaces/types.TransactionCookieOptions.html @@ -1,10 +1,10 @@ -TransactionCookieOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface TransactionCookieOptions

    interface TransactionCookieOptions {
        prefix?: string;
        sameSite?: "lax" | "strict" | "none";
        secure?: boolean;
    }

    Properties

    prefix? +TransactionCookieOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface TransactionCookieOptions

    interface TransactionCookieOptions {
        prefix?: string;
        sameSite?: "lax" | "strict" | "none";
        secure?: boolean;
    }

    Properties

    prefix?: string

    The prefix of the cookie used to store the transaction state.

    Default: __txn_{state}.

    -
    sameSite?: "lax" | "strict" | "none"

    The sameSite attribute of the transaction cookie.

    +
    sameSite?: "lax" | "strict" | "none"

    The sameSite attribute of the transaction cookie.

    Default: lax.

    -
    secure?: boolean

    The secure attribute of the transaction cookie.

    +
    secure?: boolean

    The secure attribute of the transaction cookie.

    Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

    -
    +
    diff --git a/docs/interfaces/types.TransactionState.html b/docs/interfaces/types.TransactionState.html index c4ebe438..4211b7fc 100644 --- a/docs/interfaces/types.TransactionState.html +++ b/docs/interfaces/types.TransactionState.html @@ -1,8 +1,8 @@ -TransactionState | @auth0/nextjs-auth0 - v4.3.0
    interface TransactionState {
        codeVerifier: string;
        maxAge?: number;
        nonce: string;
        responseType: string;
        returnTo: string;
        state: string;
        [propName: string]: unknown;
    }

    Hierarchy

    • JWTPayload
      • TransactionState

    Indexable

    • [propName: string]: unknown

      Any other JWT Claim Set member.

      -

    Properties

    codeVerifier +TransactionState | @auth0/nextjs-auth0 - v4.4.0
    interface TransactionState {
        codeVerifier: string;
        maxAge?: number;
        nonce: string;
        responseType: string;
        returnTo: string;
        state: string;
        [propName: string]: unknown;
    }

    Hierarchy

    • JWTPayload
      • TransactionState

    Indexable

    • [propName: string]: unknown

      Any other JWT Claim Set member.

      +

    Properties

    codeVerifier: string
    maxAge?: number
    nonce: string
    responseType: string
    returnTo: string
    state: string
    +

    Properties

    codeVerifier: string
    maxAge?: number
    nonce: string
    responseType: string
    returnTo: string
    state: string
    diff --git a/docs/interfaces/types.TransactionStoreOptions.html b/docs/interfaces/types.TransactionStoreOptions.html index 6894d08c..51cdcf62 100644 --- a/docs/interfaces/types.TransactionStoreOptions.html +++ b/docs/interfaces/types.TransactionStoreOptions.html @@ -1,3 +1,3 @@ -TransactionStoreOptions | @auth0/nextjs-auth0 - v4.3.0

    Interface TransactionStoreOptions

    interface TransactionStoreOptions {
        cookieOptions?: TransactionCookieOptions;
        secret: string;
    }

    Properties

    cookieOptions? +TransactionStoreOptions | @auth0/nextjs-auth0 - v4.4.0

    Interface TransactionStoreOptions

    interface TransactionStoreOptions {
        cookieOptions?: TransactionCookieOptions;
        secret: string;
    }

    Properties

    cookieOptions?: TransactionCookieOptions
    secret: string
    +

    Properties

    cookieOptions?: TransactionCookieOptions
    secret: string
    diff --git a/docs/interfaces/types.User.html b/docs/interfaces/types.User.html index a068d4e7..89b1c834 100644 --- a/docs/interfaces/types.User.html +++ b/docs/interfaces/types.User.html @@ -1,4 +1,4 @@ -User | @auth0/nextjs-auth0 - v4.3.0
    interface User {
        email?: string;
        email_verified?: boolean;
        family_name?: string;
        given_name?: string;
        name?: string;
        nickname?: string;
        org_id?: string;
        picture?: string;
        sub: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

    Properties

    email? +User | @auth0/nextjs-auth0 - v4.4.0
    interface User {
        email?: string;
        email_verified?: boolean;
        family_name?: string;
        given_name?: string;
        name?: string;
        nickname?: string;
        org_id?: string;
        picture?: string;
        sub: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

    Properties

    email?: string
    email_verified?: boolean
    family_name?: string
    given_name?: string
    name?: string
    nickname?: string
    org_id?: string
    picture?: string
    sub: string
    +

    Properties

    email?: string
    email_verified?: boolean
    family_name?: string
    given_name?: string
    name?: string
    nickname?: string
    org_id?: string
    picture?: string
    sub: string
    diff --git a/docs/modules.html b/docs/modules.html index dbc9d7dd..52c18078 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.3.0

    @auth0/nextjs-auth0 - v4.3.0

    Modules

    client
    errors
    server
    testing
    types
    +@auth0/nextjs-auth0 - v4.4.0

    @auth0/nextjs-auth0 - v4.4.0

    Modules

    client
    errors
    server
    testing
    types
    diff --git a/docs/modules/client.html b/docs/modules/client.html index 8fc3e21b..65806784 100644 --- a/docs/modules/client.html +++ b/docs/modules/client.html @@ -1 +1 @@ -client | @auth0/nextjs-auth0 - v4.3.0

    Functions

    Auth0Provider
    getAccessToken
    useUser
    +client | @auth0/nextjs-auth0 - v4.4.0

    Functions

    Auth0Provider
    getAccessToken
    useUser
    diff --git a/docs/modules/errors.html b/docs/modules/errors.html index 937346b1..dee9e789 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -1 +1 @@ -errors | @auth0/nextjs-auth0 - v4.3.0

    Enumerations

    AccessTokenErrorCode

    Classes

    AccessTokenError
    AuthorizationCodeGrantError
    AuthorizationError
    BackchannelLogoutError
    DiscoveryError
    InvalidStateError
    MissingStateError
    OAuth2Error
    SdkError
    +errors | @auth0/nextjs-auth0 - v4.4.0

    Enumerations

    AccessTokenErrorCode
    AccessTokenForConnectionErrorCode

    Classes

    AccessTokenError
    AccessTokenForConnectionError
    AuthorizationCodeGrantError
    AuthorizationError
    BackchannelLogoutError
    DiscoveryError
    InvalidStateError
    MissingStateError
    OAuth2Error
    SdkError
    diff --git a/docs/modules/server.html b/docs/modules/server.html index 38e5b216..c443049e 100644 --- a/docs/modules/server.html +++ b/docs/modules/server.html @@ -1 +1 @@ -server | @auth0/nextjs-auth0 - v4.3.0

    Classes

    AbstractSessionStore
    Auth0Client
    AuthClient
    TransactionStore
    +server | @auth0/nextjs-auth0 - v4.4.0

    Classes

    AbstractSessionStore
    Auth0Client
    AuthClient
    TransactionStore
    diff --git a/docs/modules/testing.html b/docs/modules/testing.html index 8dec0743..8bfda3d9 100644 --- a/docs/modules/testing.html +++ b/docs/modules/testing.html @@ -1 +1 @@ -testing | @auth0/nextjs-auth0 - v4.3.0

    Type Aliases

    GenerateSessionCookieConfig

    Functions

    generateSessionCookie
    +testing | @auth0/nextjs-auth0 - v4.4.0

    Type Aliases

    GenerateSessionCookieConfig

    Functions

    generateSessionCookie
    diff --git a/docs/modules/types.html b/docs/modules/types.html index 9b2c1a93..1e2ce761 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1 +1 @@ -types | @auth0/nextjs-auth0 - v4.3.0

    Interfaces

    Auth0ClientOptions
    AuthClientOptions
    AuthorizationParameters
    CookieOptions
    Routes
    SessionConfiguration
    SessionCookieOptions
    SessionData
    SessionDataStore
    SessionStoreOptions
    StartInteractiveLoginOptions
    TokenSet
    TransactionCookieOptions
    TransactionState
    TransactionStoreOptions
    User

    Type Aliases

    BeforeSessionSavedHook
    LogoutToken
    OnCallbackContext
    OnCallbackHook
    PagesRouterRequest
    PagesRouterResponse
    ReadonlyRequestCookies
    RoutesOptions
    +types | @auth0/nextjs-auth0 - v4.4.0

    Interfaces

    AccessTokenForConnectionOptions
    Auth0ClientOptions
    AuthClientOptions
    AuthorizationParameters
    ConnectionTokenSet
    CookieOptions
    Routes
    SessionConfiguration
    SessionCookieOptions
    SessionData
    SessionDataStore
    SessionStoreOptions
    StartInteractiveLoginOptions
    TokenSet
    TransactionCookieOptions
    TransactionState
    TransactionStoreOptions
    User

    Type Aliases

    BeforeSessionSavedHook
    LogoutToken
    OnCallbackContext
    OnCallbackHook
    PagesRouterRequest
    PagesRouterResponse
    ReadonlyRequestCookies
    RoutesOptions
    diff --git a/docs/types/testing.GenerateSessionCookieConfig.html b/docs/types/testing.GenerateSessionCookieConfig.html index d7d914d2..2c50bcd2 100644 --- a/docs/types/testing.GenerateSessionCookieConfig.html +++ b/docs/types/testing.GenerateSessionCookieConfig.html @@ -1,3 +1,3 @@ -GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.3.0

    Type Alias GenerateSessionCookieConfig

    GenerateSessionCookieConfig: { secret: string }

    Type declaration

    • secret: string

      The secret used to derive an encryption key for the session cookie.

      +GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.4.0

      Type Alias GenerateSessionCookieConfig

      GenerateSessionCookieConfig: { secret: string }

      Type declaration

      • secret: string

        The secret used to derive an encryption key for the session cookie.

        IMPORTANT: you must use the same value as in the SDK configuration.

        -
      +
    diff --git a/docs/types/types.BeforeSessionSavedHook.html b/docs/types/types.BeforeSessionSavedHook.html index 6d0d8dd8..90e3968f 100644 --- a/docs/types/types.BeforeSessionSavedHook.html +++ b/docs/types/types.BeforeSessionSavedHook.html @@ -1 +1 @@ -BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.3.0

    Type Alias BeforeSessionSavedHook

    BeforeSessionSavedHook: (
        session: SessionData,
        idToken: string | null,
    ) => Promise<SessionData>

    Type declaration

    +BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.4.0

    Type Alias BeforeSessionSavedHook

    BeforeSessionSavedHook: (
        session: SessionData,
        idToken: string | null,
    ) => Promise<SessionData>

    Type declaration

    diff --git a/docs/types/types.LogoutToken.html b/docs/types/types.LogoutToken.html index 62022b79..e4e4545f 100644 --- a/docs/types/types.LogoutToken.html +++ b/docs/types/types.LogoutToken.html @@ -1 +1 @@ -LogoutToken | @auth0/nextjs-auth0 - v4.3.0
    LogoutToken: { sid?: string; sub?: string }

    Type declaration

    • Optionalsid?: string
    • Optionalsub?: string
    +LogoutToken | @auth0/nextjs-auth0 - v4.4.0
    LogoutToken: { sid?: string; sub?: string }

    Type declaration

    • Optionalsid?: string
    • Optionalsub?: string
    diff --git a/docs/types/types.OnCallbackContext.html b/docs/types/types.OnCallbackContext.html index 065afc4e..b07189d3 100644 --- a/docs/types/types.OnCallbackContext.html +++ b/docs/types/types.OnCallbackContext.html @@ -1 +1 @@ -OnCallbackContext | @auth0/nextjs-auth0 - v4.3.0

    Type Alias OnCallbackContext

    OnCallbackContext: { returnTo?: string }

    Type declaration

    • OptionalreturnTo?: string
    +OnCallbackContext | @auth0/nextjs-auth0 - v4.4.0

    Type Alias OnCallbackContext

    OnCallbackContext: { returnTo?: string }

    Type declaration

    • OptionalreturnTo?: string
    diff --git a/docs/types/types.OnCallbackHook.html b/docs/types/types.OnCallbackHook.html index 19a1c928..91689da0 100644 --- a/docs/types/types.OnCallbackHook.html +++ b/docs/types/types.OnCallbackHook.html @@ -1 +1 @@ -OnCallbackHook | @auth0/nextjs-auth0 - v4.3.0
    OnCallbackHook: (
        error: SdkError | null,
        ctx: OnCallbackContext,
        session: SessionData | null,
    ) => Promise<NextResponse>

    Type declaration

    +OnCallbackHook | @auth0/nextjs-auth0 - v4.4.0
    OnCallbackHook: (
        error: SdkError | null,
        ctx: OnCallbackContext,
        session: SessionData | null,
    ) => Promise<NextResponse>

    Type declaration

    diff --git a/docs/types/types.PagesRouterRequest.html b/docs/types/types.PagesRouterRequest.html index 73b30152..7cc78e1a 100644 --- a/docs/types/types.PagesRouterRequest.html +++ b/docs/types/types.PagesRouterRequest.html @@ -1 +1 @@ -PagesRouterRequest | @auth0/nextjs-auth0 - v4.3.0

    Type Alias PagesRouterRequest

    PagesRouterRequest: IncomingMessage | NextApiRequest
    +PagesRouterRequest | @auth0/nextjs-auth0 - v4.4.0

    Type Alias PagesRouterRequest

    PagesRouterRequest: IncomingMessage | NextApiRequest
    diff --git a/docs/types/types.PagesRouterResponse.html b/docs/types/types.PagesRouterResponse.html index 9288a752..af52f566 100644 --- a/docs/types/types.PagesRouterResponse.html +++ b/docs/types/types.PagesRouterResponse.html @@ -1 +1 @@ -PagesRouterResponse | @auth0/nextjs-auth0 - v4.3.0

    Type Alias PagesRouterResponse

    PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
    +PagesRouterResponse | @auth0/nextjs-auth0 - v4.4.0

    Type Alias PagesRouterResponse

    PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
    diff --git a/docs/types/types.ReadonlyRequestCookies.html b/docs/types/types.ReadonlyRequestCookies.html index b7790cbc..89b90054 100644 --- a/docs/types/types.ReadonlyRequestCookies.html +++ b/docs/types/types.ReadonlyRequestCookies.html @@ -1 +1 @@ -ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.3.0

    Type Alias ReadonlyRequestCookies

    ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
        ResponseCookies,
        "set"
        | "delete",
    >
    +ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.4.0

    Type Alias ReadonlyRequestCookies

    ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
        ResponseCookies,
        "set"
        | "delete",
    >
    diff --git a/docs/types/types.RoutesOptions.html b/docs/types/types.RoutesOptions.html index a1e5dd77..c0771dbf 100644 --- a/docs/types/types.RoutesOptions.html +++ b/docs/types/types.RoutesOptions.html @@ -1 +1 @@ -RoutesOptions | @auth0/nextjs-auth0 - v4.3.0
    RoutesOptions: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    +RoutesOptions | @auth0/nextjs-auth0 - v4.4.0
    RoutesOptions: Partial<
        Pick<Routes, "login" | "callback" | "logout" | "backChannelLogout">,
    >
    diff --git a/package.json b/package.json index 460665c7..51fdc4f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "4.3.0", + "version": "4.4.0", "description": "Auth0 Next.js SDK", "scripts": { "build": "tsc",