cuongdevjs / reactjs-social-login

Group Hook ReactJS components for login social network
https://react-social-login.netlify.app
MIT License
168 stars 75 forks source link

Unable to obtain custom Pinterest scope #126

Closed dzbrozek closed 1 year ago

dzbrozek commented 1 year ago

Custom scope is always overwritten by default scope:

const oauthUrl = `${PINTEREST_URL}/?client_id=${client_id}&scope=${scope}&state=${
   state + '_pinterest'
}&redirect_uri=${redirect_uri}&response_type=code&scope=boards:read,pins:read,user_accounts:read

https://github.com/cuongdevjs/reactjs-social-login/blob/03578acb5b4b39ee10d4b0231bff4cae8f693c54/src/LoginSocialPinterest/index.tsx#L143

cuongdevjs commented 1 year ago

Thanks for your report. I gonna take a look it now.

cuongdevjs commented 1 year ago

This issue has been fixed, please upgrade to version 2.6.3. Thank you so much.