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

Add support for parameters encoded as form values #173

Closed jaredhanson closed 1 year ago

jaredhanson commented 1 year ago

This PR adds support for authorization response parameters encoded as HTML form values, per OAuth 2.0 Form Post Response Mode.

This functionality is also useful to "hybrid" OAuth clients, where the request is initiated within client-side JavaScript and then POSTed to the backend.