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

Scope not sent with params when requesting access token #6

Open
andr333v opened this issue Sep 8, 2017 · 0 comments
Open

Scope not sent with params when requesting access token #6

andr333v opened this issue Sep 8, 2017 · 0 comments

Comments

@andr333v
Copy link

andr333v commented Sep 8, 2017

I have an Oauth2 provider which requires scope to be passed when requesting a token. However, I don't seem to find a way to get the scope to the call to getOAuthAccessToken method of OAuth2 strategy.

The authenticate method of PasswordGrantStrategy creates a new object (called params) and decides what to pass to getOAuthAccessToken. Any ideas?

I'll be happy to submit a PR if this is not on purpose.

daphnesmit added a commit to daphnesmit/passport-oauth2-password-grant that referenced this issue Apr 6, 2020
Due to this issue: leftmostcat#6
Some people would like to send scope to auth when using password grant flow. 
Scope is also part of OAuth2 options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant