问题
I am implementing social login in angular 6 app with Linkedin using this npm package https://github.com/NarHakobyan/ngx-linkedIn
After clicking on allow popup in the Linkedin login page it redirects me to a page where the below text is written
Please enter the following verifier on the app: *****.
I searched and found many peoples are facing this issue. Can you please tell how can I solve this?
回答1:
You are using V1.0 of linkedin apis. They have migrated apis to V2.0. Use V2.0 ( doc ) and you won't get this error.
Sample Get request
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=xxxxxxxx&redirect_uri=https://www.yoursite.com/oauth2/callback&state=fooobar&scope=r_liteprofile%20r_emailaddress%20w_member_social
来源:https://stackoverflow.com/questions/55413779/please-enter-the-following-verifier-on-the-app-linkedin-social-login