express-openid-connect
    Preparing search index...

    Interface OpenidRequest

    The Express.js Request with oidc context added by the auth middleware.

    app.use(auth());

    app.get('/profile', (req, res) => {
    const user = req.oidc.user;
    ...
    })

    use the native the Request interface of express instead; it has been extended and now includes a built in oidc param.

    interface OpenidRequest {
        oidc: RequestContext;
    }

    Hierarchy

    • Request
      • OpenidRequest
    Index

    Properties

    Properties

    Library namespace for authentication methods and data.