Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.5.0 #261

Merged
merged 2 commits into from
Jul 14, 2021
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## [2.5.0](https://github.com/auth0/express-openid-connect/tree/v2.5.0) (2021-07-14)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.4.0...v2.5.0)

**Added**

- Add custom session id generation [#252](https://github.com/auth0/express-openid-connect/pull/252) ([nholik](https://github.com/nholik))
- Add `httpTimeout` Option [#251](https://github.com/auth0/express-openid-connect/pull/251) ([jmacvey](https://github.com/jmacvey))

**Fixed**

- Chunked cookies should not exceed browser max [#237](https://github.com/auth0/express-openid-connect/pull/237) ([davidpatrick](https://github.com/davidpatrick))

## [2.4.0](https://github.com/auth0/express-openid-connect/tree/v2.4.0) (2021-05-11)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.3.1...v2.4.0)

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

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2851,8 +2851,8 @@ <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 in the production environment.</p>
<p>But you may want to go one step further and hide additional error details from client, like the error message. To do this see the Express documentation on writing <a href="https://expressjs.com/en/guide/error-handling.html#writing-error-handlers">Custom error handlers</a></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 without using a templating engine that will properly escape it 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>
</a>
Expand Down Expand Up @@ -2949,7 +2949,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/5779415/index.d.ts#L772">index.d.ts:772</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L787">index.d.ts:787</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2980,7 +2980,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/5779415/index.d.ts#L672">index.d.ts:672</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L687">index.d.ts:687</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3030,7 +3030,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/5779415/index.d.ts#L752">index.d.ts:752</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L767">index.d.ts:767</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3087,7 +3087,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/5779415/index.d.ts#L713">index.d.ts:713</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L728">index.d.ts:728</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3130,7 +3130,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/5779415/index.d.ts#L733">index.d.ts:733</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L748">index.d.ts:748</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3173,7 +3173,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/5779415/index.d.ts#L694">index.d.ts:694</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L709">index.d.ts:709</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
16 changes: 8 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2851,8 +2851,8 @@ <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 in the production environment.</p>
<p>But you may want to go one step further and hide additional error details from client, like the error message. To do this see the Express documentation on writing <a href="https://expressjs.com/en/guide/error-handling.html#writing-error-handlers">Custom error handlers</a></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 without using a templating engine that will properly escape it 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>
</a>
Expand Down Expand Up @@ -2950,7 +2950,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/5779415/index.d.ts#L772">index.d.ts:772</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L787">index.d.ts:787</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2981,7 +2981,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/5779415/index.d.ts#L672">index.d.ts:672</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L687">index.d.ts:687</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3031,7 +3031,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/5779415/index.d.ts#L752">index.d.ts:752</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L767">index.d.ts:767</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3088,7 +3088,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/5779415/index.d.ts#L713">index.d.ts:713</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L728">index.d.ts:728</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3131,7 +3131,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/5779415/index.d.ts#L733">index.d.ts:733</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L748">index.d.ts:748</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3174,7 +3174,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/5779415/index.d.ts#L694">index.d.ts:694</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L709">index.d.ts:709</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/5779415/index.d.ts#L184">index.d.ts:184</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/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/5779415/index.d.ts#L188">index.d.ts:188</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/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 @@ -2839,7 +2839,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/5779415/index.d.ts#L609">index.d.ts:609</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L624">index.d.ts:624</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2854,7 +2854,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/5779415/index.d.ts#L619">index.d.ts:619</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L634">index.d.ts:634</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2869,7 +2869,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/5779415/index.d.ts#L624">index.d.ts:624</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L639">index.d.ts:639</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2899,7 +2899,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/5779415/index.d.ts#L614">index.d.ts:614</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L629">index.d.ts:629</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2921,7 +2921,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/5779415/index.d.ts#L636">index.d.ts:636</a></li>
<li>Defined in <a href="https://github.com/auth0/express-openid-connect/blob/aa8fc31/index.d.ts#L651">index.d.ts:651</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading