New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-openid-connect

Package Overview
Dependencies
Maintainers
42
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-openid-connect - npm Package Compare versions

Comparing version 2.3.0-beta.0 to 2.3.0

6

CHANGELOG.md
# CHANGELOG
## [2.3.0](https://github.com/auth0/express-openid-connect/tree/v2.3.0) (2021-03-10)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.2.1...v2.3.0)
**Added**
- Custom session stores [#190](https://github.com/auth0/express-openid-connect/pull/190) ([davidpatrick](https://github.com/davidpatrick))
## [2.3.0-beta.0](https://github.com/auth0/express-openid-connect/tree/v2.3.0-beta.0) (2021-02-23)

@@ -4,0 +10,0 @@ [Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.2.1...v2.3.0-beta.0)

16

index.d.ts

@@ -201,9 +201,13 @@ // Type definitions for express-openid-connect

* {@link ConfigParams.issuerBaseURL issuerBaseURL}, {@link ConfigParams.baseURL baseURL}, {@link ConfigParams.clientID clientID}
* and {@link ConfigParams.secret secret} are required but can be configured with environmental variables:
* and {@link ConfigParams.secret secret} are required but can be configured with environmental variables. {@link ConfigParams.clientSecret clientSecret} is not required but can also be configured this way.
*
* ```js
* # Required
* ISSUER_BASE_URL=https://YOUR_DOMAIN
* BASE_URL=https://YOUR_APPLICATION_ROOT_URL
* CLIENT_ID=YOUR_CLIENT_ID
* BASE_URL=https://YOUR_APPLICATION_ROOT_URL
* SECRET=LONG_RANDOM_VALUE
*
* # Not required
* CLIENT_SECRET=YOUR_CLIENT_SECRET
* ```

@@ -238,4 +242,4 @@ */

* response_type: 'id_token',
* response_mode: 'form_post,
* scope: openid profile email'
* response_mode: 'form_post',
* scope: 'openid profile email'
* }

@@ -351,6 +355,6 @@ * ```

* afterCallback: async (req, res, session, decodedState) => {
* const additionalUserClaims = await req.oidc.fetchUserInfo();
* const userProfile = await request(`${issuerBaseURL}/userinfo`);
* return {
* ...session,
* ...additionalUserClaims
* userProfile // access using `req.appSession.userProfile`
* };

@@ -357,0 +361,0 @@ * }

{
"name": "express-openid-connect",
"version": "2.3.0-beta.0",
"version": "2.3.0",
"description": "Express middleware to protect web applications using OpenID Connect.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/auth0/express-openid-connect",

@@ -73,3 +73,3 @@ # Express OpenID Connect

See the [API documentation](https://auth0.github.io/express-openid-connect) for additional configuration possibilities and provided methods.
See the [API documentation](https://auth0.github.io/express-openid-connect) for [additional configuration possibilities](https://auth0.github.io/express-openid-connect/interfaces/configparams.html) and [provided methods](https://auth0.github.io/express-openid-connect/globals.html#attemptsilentlogin).

@@ -76,0 +76,0 @@ ## A note on error handling

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc