You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: req.flash is not a function
at allFailed (/code/node_modules/passport/lib/middleware/authenticate.js:131:15)
at attempt (/code/node_modules/passport/lib/middleware/authenticate.js:180:28)
at Strategy.strategy.fail (/code/node_modules/passport/lib/middleware/authenticate.js:302:9)
at loaded (/code/node_modules/passport-openidconnect/lib/strategy.js:83:21)
at SessionStore.verify (/code/node_modules/passport-openidconnect/lib/state/session.js:71:11)
at Strategy.authenticate (/code/node_modules/passport-openidconnect/lib/strategy.js:254:24)
at attempt (/code/node_modules/passport/lib/middleware/authenticate.js:366:16)
at authenticate (/code/node_modules/passport/lib/middleware/authenticate.js:367:7)
at Layer.handle [as handle_request] (/code/node_modules/express/lib/router/layer.js:95:5)
at next (/code/node_modules/express/lib/router/route.js:137:13)
Context: flash used to be a function to show a flash message after an activity.
E.g. you login with wrong password you get redirected to login with a flash messages telling you login failed.
But for some reason these flash method is suddenly not existing anymore and it seems it was moved to a different package
The text was updated successfully, but these errors were encountered:
TypeError: req.flash is not a function
at allFailed (/code/node_modules/passport/lib/middleware/authenticate.js:131:15)
at attempt (/code/node_modules/passport/lib/middleware/authenticate.js:180:28)
at Strategy.strategy.fail (/code/node_modules/passport/lib/middleware/authenticate.js:302:9)
at loaded (/code/node_modules/passport-openidconnect/lib/strategy.js:83:21)
at SessionStore.verify (/code/node_modules/passport-openidconnect/lib/state/session.js:71:11)
at Strategy.authenticate (/code/node_modules/passport-openidconnect/lib/strategy.js:254:24)
at attempt (/code/node_modules/passport/lib/middleware/authenticate.js:366:16)
at authenticate (/code/node_modules/passport/lib/middleware/authenticate.js:367:7)
at Layer.handle [as handle_request] (/code/node_modules/express/lib/router/layer.js:95:5)
at next (/code/node_modules/express/lib/router/route.js:137:13)
Context: flash used to be a function to show a flash message after an activity.
E.g. you login with wrong password you get redirected to login with a flash messages telling you login failed.
But for some reason these flash method is suddenly not existing anymore and it seems it was moved to a different package
The text was updated successfully, but these errors were encountered: