analog-nico / passport-pinterest

Passport strategy for authenticating with Pinterest using the OAuth 2.0 API.
ISC License
14 stars 6 forks source link

passing custom state param to pinterest #4

Closed somprabhsharma closed 8 years ago

somprabhsharma commented 8 years ago

To pass custom state param to pinterest, removed state param from the code as passport-oauth2 handles it. If there is any incoming custom state param then passport-oauth2 passes it back to the user. See Passport-oauth2

Refer to issue #3 for more details.

somprabhsharma commented 8 years ago

Use Case: If user wants to send some custom params that he wants to get back after successful authentication.