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;
...
})

Deprecated

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

Hierarchy

  • Request
    • OpenidRequest

Properties

Properties

Library namespace for authentication methods and data.