Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown authentication strategy "oauth2" #156

Open
buiquocdatgl opened this issue Mar 9, 2022 · 2 comments
Open

Unknown authentication strategy "oauth2" #156

buiquocdatgl opened this issue Mar 9, 2022 · 2 comments
Labels
question Request for help or support

Comments

@buiquocdatgl
Copy link

Somebody help, I try config router middaleware, but respone:

image

@jaredhanson jaredhanson added the question Request for help or support label Mar 9, 2022
@jaredhanson
Copy link
Owner

Have you called passport.use() to configure passport-oauth2?

@rjjingar
Copy link

rjjingar commented Mar 17, 2022

We are facing similar issue. We use passport.use() in the oauth start request and passport.authenticate() in the callback request. However authentication fails if passport.use() and passport.authenticate() are executed on different pods/machines. Is there something I am missing here on how to implement this on multiple servers. @jaredhanson Appreciate any help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Request for help or support
Projects
None yet
Development

No branches or pull requests

3 participants