Skip to content

Commit

Permalink
Release v2.7.0 (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Feb 17, 2022
1 parent 78136ed commit 1a36633
Show file tree
Hide file tree
Showing 22 changed files with 180 additions and 87 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## [v2.7.0](https://github.com/auth0/express-openid-connect/tree/v2.7.0) (2022-02-17)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.6.0...v2.7.0)

**Added**
- [SDK-3109] Add ability to pass custom logout params [\#329](https://github.com/auth0/express-openid-connect/pull/329) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-3111] Add Oauth error props to http error when available [\#328](https://github.com/auth0/express-openid-connect/pull/328) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-3110] Allow customising the UA header in client reqs [\#327](https://github.com/auth0/express-openid-connect/pull/327) ([adamjmcgrath](https://github.com/adamjmcgrath))
- allow configuration of same site attribute on auth_verification cookie [\#323](https://github.com/auth0/express-openid-connect/pull/323) ([BitPatty](https://github.com/BitPatty))

**Changed**
- Looser cookie name validation [\#330](https://github.com/auth0/express-openid-connect/pull/330) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.6.0](https://github.com/auth0/express-openid-connect/tree/v2.6.0) (2022-01-31)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.5.2...v2.6.0)

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

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2854,7 +2854,7 @@ <h2>Getting Started</h2>
<a href="#a-note-on-error-handling" id="a-note-on-error-handling" style="color: inherit; text-decoration: none;">
<h2>A note on error handling</h2>
</a>
<p>Errors raised by this library are handled by the <a href="https://expressjs.com/en/guide/error-handling.html#the-default-error-handler">default Express error handler</a> which, in the interests of security, does not include the stack trace or error message in the production environment. If you write your own error handler, you should not render the error message without using a templating engine that will properly escape it first.</p>
<p>Errors raised by this library are handled by the <a href="https://expressjs.com/en/guide/error-handling.html#the-default-error-handler">default Express error handler</a> which, in the interests of security, does not include the stack trace or error message in the production environment. If you write your own error handler, you should not render the error message or the OAuth <code>error</code>/<code>error_description</code> properties without using a templating engine that will properly escape them first.</p>
<p>To write your own error handler, see the Express documentation on writing <a href="https://expressjs.com/en/guide/error-handling.html#writing-error-handlers">Custom error handlers</a>. </p>
<a href="#contributing" id="contributing" style="color: inherit; text-decoration: none;">
<h2>Contributing</h2>
Expand Down Expand Up @@ -2953,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/b850bfd/index.d.ts#L791">index.d.ts:791</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L811">index.d.ts:811</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2984,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/b850bfd/index.d.ts#L691">index.d.ts:691</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L711">index.d.ts:711</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3034,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/b850bfd/index.d.ts#L771">index.d.ts:771</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L791">index.d.ts:791</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3091,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/b850bfd/index.d.ts#L732">index.d.ts:732</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L752">index.d.ts:752</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3134,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/b850bfd/index.d.ts#L752">index.d.ts:752</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L772">index.d.ts:772</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3177,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/b850bfd/index.d.ts#L713">index.d.ts:713</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L733">index.d.ts:733</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
14 changes: 7 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2854,7 +2854,7 @@ <h2>Getting Started</h2>
<a href="#a-note-on-error-handling" id="a-note-on-error-handling" style="color: inherit; text-decoration: none;">
<h2>A note on error handling</h2>
</a>
<p>Errors raised by this library are handled by the <a href="https://expressjs.com/en/guide/error-handling.html#the-default-error-handler">default Express error handler</a> which, in the interests of security, does not include the stack trace or error message in the production environment. If you write your own error handler, you should not render the error message without using a templating engine that will properly escape it first.</p>
<p>Errors raised by this library are handled by the <a href="https://expressjs.com/en/guide/error-handling.html#the-default-error-handler">default Express error handler</a> which, in the interests of security, does not include the stack trace or error message in the production environment. If you write your own error handler, you should not render the error message or the OAuth <code>error</code>/<code>error_description</code> properties without using a templating engine that will properly escape them first.</p>
<p>To write your own error handler, see the Express documentation on writing <a href="https://expressjs.com/en/guide/error-handling.html#writing-error-handlers">Custom error handlers</a>. </p>
<a href="#contributing" id="contributing" style="color: inherit; text-decoration: none;">
<h2>Contributing</h2>
Expand Down Expand Up @@ -2954,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/b850bfd/index.d.ts#L791">index.d.ts:791</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L811">index.d.ts:811</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2985,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/b850bfd/index.d.ts#L691">index.d.ts:691</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L711">index.d.ts:711</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3035,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/b850bfd/index.d.ts#L771">index.d.ts:771</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L791">index.d.ts:791</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3092,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/b850bfd/index.d.ts#L732">index.d.ts:732</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L752">index.d.ts:752</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3135,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/b850bfd/index.d.ts#L752">index.d.ts:752</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L772">index.d.ts:772</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3178,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/b850bfd/index.d.ts#L713">index.d.ts:713</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L733">index.d.ts:733</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/b850bfd/index.d.ts#L184">index.d.ts:184</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/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/b850bfd/index.d.ts#L188">index.d.ts:188</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L188">index.d.ts:188</a></li>
</ul>
</aside>
</section>
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/accesstoken.html
Original file line number Diff line number Diff line change
Expand Up @@ -2842,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/b850bfd/index.d.ts#L624">index.d.ts:624</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L644">index.d.ts:644</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2857,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/b850bfd/index.d.ts#L634">index.d.ts:634</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L654">index.d.ts:654</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2872,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/b850bfd/index.d.ts#L639">index.d.ts:639</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L659">index.d.ts:659</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2902,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/b850bfd/index.d.ts#L629">index.d.ts:629</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L649">index.d.ts:649</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2924,7 +2924,7 @@ <h3>refresh</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/b850bfd/index.d.ts#L651">index.d.ts:651</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/78136ed/index.d.ts#L671">index.d.ts:671</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit 1a36633

Please sign in to comment.