Skip to content

Commit

Permalink
Release v2.5.2 (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Dec 9, 2021
1 parent 5ab67ff commit c255756
Show file tree
Hide file tree
Showing 23 changed files with 2,991 additions and 85 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## [v2.5.2](https://github.com/auth0/express-openid-connect/tree/v2.5.2) (2021-12-09)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.5.1...v2.5.2)

**Security**

- Session fixation fix [CVE-2021-41246](https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9)

**Fixed**
- Fix refresh signature in ts defs [\#294](https://github.com/auth0/express-openid-connect/pull/294) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.5.1](https://github.com/auth0/express-openid-connect/tree/v2.5.1) (2021-09-28)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.5.0...v2.5.1)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2741,6 +2741,9 @@
<li class=" tsd-kind-interface tsd-has-type-parameter">
<a href="interfaces/openidresponse.html" class="tsd-kind-icon">Openid<wbr>Response</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/refreshparams.html" class="tsd-kind-icon">Refresh<wbr>Params</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/requestcontext.html" class="tsd-kind-icon">Request<wbr>Context</a>
</li>
Expand Down Expand Up @@ -2914,6 +2917,7 @@ <h3>Interfaces</h3>
<li class="tsd-kind-interface"><a href="interfaces/logoutoptions.html" class="tsd-kind-icon">Logout<wbr>Options</a></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/openidrequest.html" class="tsd-kind-icon">Openid<wbr>Request</a></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/openidresponse.html" class="tsd-kind-icon">Openid<wbr>Response</a></li>
<li class="tsd-kind-interface"><a href="interfaces/refreshparams.html" class="tsd-kind-icon">Refresh<wbr>Params</a></li>
<li class="tsd-kind-interface"><a href="interfaces/requestcontext.html" class="tsd-kind-icon">Request<wbr>Context</a></li>
<li class="tsd-kind-interface"><a href="interfaces/responsecontext.html" class="tsd-kind-icon">Response<wbr>Context</a></li>
<li class="tsd-kind-interface"><a href="interfaces/session.html" class="tsd-kind-icon">Session</a></li>
Expand Down Expand Up @@ -2949,7 +2953,7 @@ <h3>attempt<wbr>Silent<wbr>Login</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L787">index.d.ts:787</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L791">index.d.ts:791</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2980,7 +2984,7 @@ <h3>auth</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L687">index.d.ts:687</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L691">index.d.ts:691</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3030,7 +3034,7 @@ <h3>claim<wbr>Check</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L767">index.d.ts:767</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L771">index.d.ts:771</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3087,7 +3091,7 @@ <h3>claim<wbr>Equals</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L728">index.d.ts:728</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L732">index.d.ts:732</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3130,7 +3134,7 @@ <h3>claim<wbr>Includes</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L748">index.d.ts:748</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L752">index.d.ts:752</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3173,7 +3177,7 @@ <h3>requires<wbr>Auth</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L709">index.d.ts:709</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L713">index.d.ts:713</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
16 changes: 10 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2741,6 +2741,9 @@
<li class=" tsd-kind-interface tsd-has-type-parameter">
<a href="interfaces/openidresponse.html" class="tsd-kind-icon">Openid<wbr>Response</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/refreshparams.html" class="tsd-kind-icon">Refresh<wbr>Params</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/requestcontext.html" class="tsd-kind-icon">Request<wbr>Context</a>
</li>
Expand Down Expand Up @@ -2915,6 +2918,7 @@ <h3>Interfaces</h3>
<li class="tsd-kind-interface"><a href="interfaces/logoutoptions.html" class="tsd-kind-icon">Logout<wbr>Options</a></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/openidrequest.html" class="tsd-kind-icon">Openid<wbr>Request</a></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/openidresponse.html" class="tsd-kind-icon">Openid<wbr>Response</a></li>
<li class="tsd-kind-interface"><a href="interfaces/refreshparams.html" class="tsd-kind-icon">Refresh<wbr>Params</a></li>
<li class="tsd-kind-interface"><a href="interfaces/requestcontext.html" class="tsd-kind-icon">Request<wbr>Context</a></li>
<li class="tsd-kind-interface"><a href="interfaces/responsecontext.html" class="tsd-kind-icon">Response<wbr>Context</a></li>
<li class="tsd-kind-interface"><a href="interfaces/session.html" class="tsd-kind-icon">Session</a></li>
Expand Down Expand Up @@ -2950,7 +2954,7 @@ <h3>attempt<wbr>Silent<wbr>Login</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L787">index.d.ts:787</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L791">index.d.ts:791</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2981,7 +2985,7 @@ <h3>auth</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L687">index.d.ts:687</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L691">index.d.ts:691</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3031,7 +3035,7 @@ <h3>claim<wbr>Check</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L767">index.d.ts:767</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L771">index.d.ts:771</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3088,7 +3092,7 @@ <h3>claim<wbr>Equals</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L728">index.d.ts:728</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L732">index.d.ts:732</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3131,7 +3135,7 @@ <h3>claim<wbr>Includes</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L748">index.d.ts:748</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L752">index.d.ts:752</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3174,7 +3178,7 @@ <h3>requires<wbr>Auth</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L709">index.d.ts:709</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L713">index.d.ts:713</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/__global.express.request.html
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ <h3>oidc</h3>
<div class="tsd-signature tsd-kind-icon">oidc<span class="tsd-signature-symbol">:</span> <a href="requestcontext.html" class="tsd-signature-type">RequestContext</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L184">index.d.ts:184</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L184">index.d.ts:184</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/__global.express.response.html
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ <h3>oidc</h3>
<div class="tsd-signature tsd-kind-icon">oidc<span class="tsd-signature-symbol">:</span> <a href="responsecontext.html" class="tsd-signature-type">ResponseContext</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L188">index.d.ts:188</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L188">index.d.ts:188</a></li>
</ul>
</aside>
</section>
Expand Down
17 changes: 10 additions & 7 deletions docs/interfaces/accesstoken.html
Original file line number Diff line number Diff line change
Expand Up @@ -2758,6 +2758,9 @@
<li class=" tsd-kind-interface tsd-has-type-parameter">
<a href="openidresponse.html" class="tsd-kind-icon">Openid<wbr>Response</a>
</li>
<li class=" tsd-kind-interface">
<a href="refreshparams.html" class="tsd-kind-icon">Refresh<wbr>Params</a>
</li>
<li class=" tsd-kind-interface">
<a href="requestcontext.html" class="tsd-kind-icon">Request<wbr>Context</a>
</li>
Expand Down Expand Up @@ -2839,7 +2842,7 @@ <h3>access_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">access_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L624">index.d.ts:624</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L624">index.d.ts:624</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2854,7 +2857,7 @@ <h3>expires_<wbr>in</h3>
<div class="tsd-signature tsd-kind-icon">expires_<wbr>in<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/express-openid-connect/blob/df9b68b/index.d.ts#L634">index.d.ts:634</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L634">index.d.ts:634</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2869,7 +2872,7 @@ <h3>is<wbr>Expired</h3>
<div class="tsd-signature tsd-kind-icon">is<wbr>Expired<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L639">index.d.ts:639</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L639">index.d.ts:639</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2899,7 +2902,7 @@ <h3>token_<wbr>type</h3>
<div class="tsd-signature tsd-kind-icon">token_<wbr>type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L629">index.d.ts:629</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L629">index.d.ts:629</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2915,13 +2918,13 @@ <h2>Methods</h2>
<a name="refresh" class="tsd-anchor"></a>
<h3>refresh</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
<li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">?: </span><a href="tokenparameters.html" class="tsd-signature-type">TokenParameters</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="accesstoken.html" class="tsd-signature-type">AccessToken</a><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">?: </span><a href="refreshparams.html" class="tsd-signature-type">RefreshParams</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="accesstoken.html" class="tsd-signature-type">AccessToken</a><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/df9b68b/index.d.ts#L651">index.d.ts:651</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/5ab67ff/index.d.ts#L651">index.d.ts:651</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2936,7 +2939,7 @@ <h3>refresh</h3>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> params: <a href="tokenparameters.html" class="tsd-signature-type">TokenParameters</a></h5>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> params: <a href="refreshparams.html" class="tsd-signature-type">RefreshParams</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="accesstoken.html" class="tsd-signature-type">AccessToken</a><span class="tsd-signature-symbol">&gt;</span></h4>
Expand Down
Loading

0 comments on commit c255756

Please sign in to comment.