question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expressjs auth.connect does not work anymore

See original GitHub issue

Expressjs middleware ends with an error message:

TypeError: auth.connect is not a function

it seems connect method has been removed from version 4.

Is there a v4 workaround for Expressjs?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
ghostganzcommented, Mar 10, 2020

It would help if there were some documentation or release notes about the breaking changes in 4.x…

1reaction
gevorgcommented, Mar 10, 2020

It would help if there were some documentation or release notes about the breaking changes in 4.x…

Point taken related to release notes, but for usage of latest version just check readme.md and examples directory, both are updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expressjs auth.connect does not work anymore · Issue #98
Expressjs middleware ends with an error message: TypeError: auth.connect is not a function it seems connect method has been removed from ...
Read more >
express.basicAuth throwing error - node.js - Stack Overflow
The problem I'm having is that after I login initially if I try to use the normal app login functionality that triggers the...
Read more >
Node.js and Express Tutorial: Authentication Using Passport
Learn how to use Passport.js to add user authentication to a web app built with Node.js and Express. Secure static sites built with...
Read more >
Auth0 - YouTube
And if you don't have your Node.js/Express app going already, ... the OIDC object in Route Handlers 6:03 Using the Login and Logout...
Read more >
Integrate authentication into Node.js / Express.js - Ory
The easiest way to connect Ory to your domain is to connect Ory to a subdomain of yours. You can do this easily...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found