jaredhanson / passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-oauth2/?utm_source=github&utm_medium=referral&utm_campaign=passport-oauth2&utm_content=about
MIT License
607 stars 343 forks source link

Redirect without URL Encode #160

Open obeltranss opened 2 years ago

obeltranss commented 2 years ago

Hello!

I'm having a problem with the scope parameter because of the url encode in the redirect of the authorization url. Is there any way to avoid the url encode in this redirect?

terrabythia commented 2 years ago

I have this problem too when logging in to Gitlab (using https://github.com/fh1ch/passport-gitlab2) when passing in multiple scopes, because the + is encoded to %2B and Gitlab does not accept that.