Skip to content

Commit

Permalink
Release v2.7.0 (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Jul 19, 2023
2 parents 96d1234 + 819b426 commit 96b20c1
Show file tree
Hide file tree
Showing 116 changed files with 274 additions and 265 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [v2.7.0](https://github.com/auth0/nextjs-auth0/tree/v2.7.0) (2023-07-19)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.6.3...v2.7.0)

**Added**
- Support Organization Name [\#1291](https://github.com/auth0/nextjs-auth0/pull/1291) ([frederikprijck](https://github.com/frederikprijck))

**Fixed**
- Clean up erroneous cookies when chunk size decreases [\#1300](https://github.com/auth0/nextjs-auth0/pull/1300) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.6.3](https://github.com/auth0/nextjs-auth0/tree/v2.6.3) (2023-06-26)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.6.2...v2.6.3)

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/client_use_user.RequestError.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">RequestError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/client/use-user.tsx#L46">client/use-user.tsx:46</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/client/use-user.tsx#L46">client/use-user.tsx:46</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">
Expand Down Expand Up @@ -60,14 +60,14 @@ <h5><span class="tsd-kind-parameter">status</span>: <span class="tsd-signature-t
<h4 class="tsd-returns-title">Returns <a href="client_use_user.RequestError.html" class="tsd-signature-type tsd-kind-class">RequestError</a></h4><aside class="tsd-sources">
<p>Overrides Error.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="status" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
16 changes: 8 additions & 8 deletions docs/classes/session_session.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4>Hierarchy</h4>
<h4 class="tsd-before-signature">Indexable</h4>
<div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L19">session/session.ts:19</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L19">session/session.ts:19</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">
Expand Down Expand Up @@ -61,7 +61,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/session_session.Claims.html" class="tsd-signature-type tsd-kind-interface">Claims</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="session_session.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L55">session/session.ts:55</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L55">session/session.ts:55</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="accessToken" class="tsd-anchor"></a>
Expand All @@ -71,31 +71,31 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L33">session/session.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L33">session/session.ts:33</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="accessTokenExpiresAt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>access<wbr/>Token<wbr/>Expires<wbr/>At</span><a href="#accessTokenExpiresAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">access<wbr/>Token<wbr/>Expires<wbr/>At</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>The expiration of the access token.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L43">session/session.ts:43</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L43">session/session.ts:43</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="accessTokenScope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>access<wbr/>Token<wbr/>Scope</span><a href="#accessTokenScope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">access<wbr/>Token<wbr/>Scope</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>The access token scopes.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L38">session/session.ts:38</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L38">session/session.ts:38</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="idToken" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>id<wbr/>Token</span><a href="#idToken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">id<wbr/>Token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>The ID token.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L28">session/session.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L28">session/session.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="refreshToken" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>refresh<wbr/>Token</span><a href="#refreshToken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">refresh<wbr/>Token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -105,15 +105,15 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L51">session/session.ts:51</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L51">session/session.ts:51</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="user" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>user</span><a href="#user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">user</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/session_session.Claims.html" class="tsd-signature-type tsd-kind-interface">Claims</a></div>
<div class="tsd-comment tsd-typography"><p>Any of the claims from the <code>id_token</code>.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/session/session.ts#L23">session/session.ts:23</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/session/session.ts#L23">session/session.ts:23</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/utils_errors.AccessTokenError.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">AccessTokenError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L99">utils/errors.ts:99</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L99">utils/errors.ts:99</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">
Expand Down Expand Up @@ -71,7 +71,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<h4 class="tsd-returns-title">Returns <a href="utils_errors.AccessTokenError.html" class="tsd-signature-type tsd-kind-class">AccessTokenError</a></h4><aside class="tsd-sources">
<p>Overrides <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L100">utils/errors.ts:100</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L100">utils/errors.ts:100</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="cause" class="tsd-anchor"></a>
Expand All @@ -86,7 +86,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#cause">cause</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L57">utils/errors.ts:57</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L57">utils/errors.ts:57</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="code" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>code</span><a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">code</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -98,7 +98,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#code">code</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L41">utils/errors.ts:41</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L41">utils/errors.ts:41</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="name" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -107,7 +107,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#name">name</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L46">utils/errors.ts:46</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L46">utils/errors.ts:46</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="status" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
Expand All @@ -116,7 +116,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="utils_errors.AuthError.html">AuthError</a>.<a href="utils_errors.AuthError.html#status">status</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/a2d6454/src/utils/errors.ts#L62">utils/errors.ts:62</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/96d1234/src/utils/errors.ts#L62">utils/errors.ts:62</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit 96b20c1

Please sign in to comment.