passport-oauth2 icon indicating copy to clipboard operation
passport-oauth2 copied to clipboard

OAuth 2.0 authentication strategy for Passport and Node.js.

Results 98 passport-oauth2 issues
Sort by recently updated
recently updated
newest added

Here is everything I have tried: https://chat.openai.com/share/cda16915-b97e-48de-836b-62501ab93041 `Content-Type` is decided in the `oauth` package here https://github.com/ciaranj/node-oauth/blob/0749d671f04b684ca255d6ff5340ae3efe711d9a/lib/oauth2.js#L191 The goal is to give the third party I'm authenticating, the ability to indicate...

strategy.ts is not invoking and not logging the user variable. I tried to authenticate the user using passport-oauth2 package in nestjs.The problem is, strategy is not calling and not returning...

Add the method `handleOAuthTokenResponse` to allow subclasses to reformat the OAuth Token response before continuing throw the flow. See: https://github.com/nmaves/passport-slack-oauth2/pull/13 Slack's OAuth2 **v2** implementation overrides the token response to return...

The OAuth2 spec states [the authorization server should respond with a HTTP 400](https://tools.ietf.org/html/rfc6749#section-5.2) if there is an error in the access token response. The details of the error are conveyed...

There is a bug in oauth when connecting to Google. (fetching profile is called twice, fails the second time) version 0.10.0 of oauth has a fix for the issue

This is so concerning for production, the package should NEVER throw out code in the response stream in no means, most absolutely specially in production. ![Screenshot 2024-06-22 at 11 05...

…https://github.com/jaredhanson/passport-oauth2/issues/73

the callback function do not fetch the GitHub user emails + do not provide type safety when typed out (need specific casting) ``` export class GithubAuthenticator { constructor(options: StrategyOptions, controller:...