The Express.js Request with oidc context added by the auth middleware.
oidc
auth
app.use(auth());app.get('/profile', (req, res) => { const user = req.oidc.user; ...}) Copy
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.
Request
express
Library namespace for authentication methods and data.
The Express.js Request with
oidccontext added by theauthmiddleware.Deprecated
use the native the
Requestinterface ofexpressinstead; it has been extended and now includes a built inoidcparam.