Closed somprabhsharma closed 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
passport-oauth2
Refer to issue #3 for more details.
Use Case: If user wants to send some custom params that he wants to get back after successful authentication.
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 thenpassport-oauth2
passes it back to the user. See Passport-oauth2Refer to issue #3 for more details.