Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.5.0
v3.6.0
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [v3.6.0](https://github.com/auth0/nextjs-auth0/tree/v3.6.0) (2025-01-31)
This is a maintainance release for V3 of the SDK.
V4 supports Next.JS 15 and React 19 and is published on [npm](https://www.npmjs.com/package/@auth0/nextjs-auth0)!
We will continue to add features and security upgrades in V4 going further. Please migrate to V4 for a better experience.


**Security**
- [bump jshttp/cookie from 0.6.0 to 0.7.1](https://github.com/auth0/nextjs-auth0/pull/1778)

## [v3.5.0](https://github.com/auth0/nextjs-auth0/tree/v3.5.0) (2023-12-06)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v3.4.0...v3.5.0)

Expand Down
11 changes: 11 additions & 0 deletions docs/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--light-color-text-aside: #6e6e6e;
--light-color-link: #1f70c2;

--light-color-ts-keyword: #056bd6;
--light-color-ts-project: #b111c9;
--light-color-ts-module: var(--light-color-ts-project);
--light-color-ts-namespace: var(--light-color-ts-project);
Expand Down Expand Up @@ -50,6 +51,7 @@
--dark-color-text-aside: #dddddd;
--dark-color-link: #00aff4;

--dark-color-ts-keyword: #3399ff;
--dark-color-ts-project: #e358ff;
--dark-color-ts-module: var(--dark-color-ts-project);
--dark-color-ts-namespace: var(--dark-color-ts-project);
Expand Down Expand Up @@ -91,6 +93,7 @@
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
--color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-enum: var(--light-color-ts-enum);
Expand Down Expand Up @@ -132,6 +135,7 @@
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
--color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-enum: var(--dark-color-ts-enum);
Expand Down Expand Up @@ -180,6 +184,7 @@ body {
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
--color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-enum: var(--light-color-ts-enum);
Expand Down Expand Up @@ -219,6 +224,7 @@ body {
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
--color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-enum: var(--dark-color-ts-enum);
Expand Down Expand Up @@ -984,6 +990,11 @@ a.tsd-index-link {
overflow-x: auto;
}

.tsd-signature-keyword {
color: var(--color-ts-keyword);
font-weight: normal;
}

.tsd-signature-symbol {
color: var(--color-text-aside);
font-weight: normal;
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/client_use_user.RequestError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_api_request.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_api_response.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_request.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_request_cookies.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_response.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/http_auth0_next_response_cookies.default.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/classes/session_session.default.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.AccessTokenError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.AuthError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.CallbackHandlerError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.HandlerError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.LoginHandlerError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.LogoutHandlerError.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/utils_errors.ProfileHandlerError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/utils_errors.AccessTokenErrorCode.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/client_use_user.default.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/client_use_user.useUser.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/config.configSingletonGetter.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.getAccessToken-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.getSession-1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/edge.handleAuth-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/edge.handleCallback-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/edge.handleLogin-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/edge.handleLogout-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/edge.handleProfile-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.initAuth0-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.touchSession-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.updateSession-1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/edge.withApiAuthRequired-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/edge.withMiddlewareAuthRequired.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/edge.withPageAuthRequired-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/handlers_router_helpers.getHandler.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/index.getAccessToken-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/index.getSession-1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/index.handleAuth-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/index.handleCallback-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/index.handleLogin-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/index.handleLogout-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/index.handleProfile-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/index.initAuth0-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/index.touchSession-1.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/functions/index.updateSession-1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/index.withApiAuthRequired-1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/functions/index.withPageAuthRequired-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/init._initAuth.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/interfaces/client_use_user.UserProfile.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/interfaces/config.NextConfig.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/interfaces/handlers_callback.CallbackOptions.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/interfaces/handlers_login.AuthorizationParams.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/interfaces/handlers_login.LoginOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/interfaces/handlers_logout.LogoutOptions.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/interfaces/session_session.Claims.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/interfaces/shared.Auth0Server.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/modules/client.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>client | @auth0/nextjs-auth0</title><meta name="description" content="Documentation for @auth0/nextjs-auth0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@auth0/nextjs-auth0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@auth0/nextjs-auth0</a></li><li><a href="client.html">client</a></li></ul><h1>Module client</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/d06d352/src/client/index.ts#L1">client/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">References</h3><div class="tsd-index-list"><a href="client.html#RequestError" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Request<wbr/>Error</span></a>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>client | @auth0/nextjs-auth0</title><meta name="description" content="Documentation for @auth0/nextjs-auth0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@auth0/nextjs-auth0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@auth0/nextjs-auth0</a></li><li><a href="client.html">client</a></li></ul><h1>Module client</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5bf3d47/src/client/index.ts#L1">client/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">References</h3><div class="tsd-index-list"><a href="client.html#RequestError" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Request<wbr/>Error</span></a>
<a href="client.html#UserProfile" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>User<wbr/>Profile</span></a>
<a href="client.html#UserProvider" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>User<wbr/>Provider</span></a>
<a href="client.html#UserProviderProps" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>User<wbr/>Provider<wbr/>Props</span></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/client_use_user.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>client/use-user | @auth0/nextjs-auth0</title><meta name="description" content="Documentation for @auth0/nextjs-auth0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@auth0/nextjs-auth0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@auth0/nextjs-auth0</a></li><li><a href="client_use_user.html">client/use-user</a></li></ul><h1>Module client/use-user</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/d06d352/src/client/use-user.tsx#L1">client/use-user.tsx:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Client</h3><div class="tsd-index-list"><a href="../classes/client_use_user.RequestError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Request<wbr/>Error</span></a>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>client/use-user | @auth0/nextjs-auth0</title><meta name="description" content="Documentation for @auth0/nextjs-auth0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@auth0/nextjs-auth0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@auth0/nextjs-auth0</a></li><li><a href="client_use_user.html">client/use-user</a></li></ul><h1>Module client/use-user</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/5bf3d47/src/client/use-user.tsx#L1">client/use-user.tsx:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Client</h3><div class="tsd-index-list"><a href="../classes/client_use_user.RequestError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Request<wbr/>Error</span></a>
<a href="../interfaces/client_use_user.UserProfile.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>User<wbr/>Profile</span></a>
<a href="../types/client_use_user.UserContext.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>User<wbr/>Context</span></a>
<a href="../types/client_use_user.UserProvider.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg><span>User<wbr/>Provider</span></a>
Expand Down
Loading
Loading