angular-social-login

How to check: is the User logged in with angular-6-social-login npm package?

旧时模样 提交于 2021-01-28 12:21:09
问题 I have successfully integrated with angular-6-social-login (https://www.npmjs.com/package/angular-6-social-login) to login into my angular APP using google account. I am creating an Angular Guard to protect the routes so that only users can access after logging in. The AuthService from angular-6-social-login does not support any direct function to see if the user has logged in or not. Any suggestions here, please? import { Injectable } from '@angular/core'; import { CanActivate,

“Please enter the following verifier on the app” LinkedIn social login

瘦欲@ 提交于 2019-12-21 03:21:28
问题 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

“Please enter the following verifier on the app” LinkedIn social login

时光总嘲笑我的痴心妄想 提交于 2019-12-03 09:15:55
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? 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