heresy / angular2-social-login

Simple client side social authentication for Angular2 application.
30 stars 38 forks source link

google popup not coming after logout. #36

Closed pradeekumar closed 2 years ago

pradeekumar commented 6 years ago

Only first-time Gmail popup comes. after logging out second-time when I trying to logging popup doesn't come and it logging with the previous account.

I want to logging with different Gmail account each time I logged out

achus-ui commented 6 years ago

I do have the same issue, somebody please respond to this issue!

achus-ui commented 6 years ago

@pradeekumar bro I figured out the issue and resolved it! Root Cause: At the time of login certain key-values is being added as cookies, this cookies will decided which user will go as a login user. Unfortunately in this package they are not clearing cookies, so as u said, you login for the first time and then logout. Again u r trying to login and it will take you to the first user automatically and not allowing you to choose another account. This can be fixed by clearing the cookies added while logging in. You can clear the cookies from your application at the time of logout event trigger. Hope you got my point

pradeekumar commented 6 years ago

@achus-ui thanks for the help, but I changed my login plugin.

achus-ui commented 6 years ago

Bro now which plugin you are using?

achus-ui commented 6 years ago

Bro now which plugin you are using!

Regards Harikrishnan S Mob: +91 9847 400 944

On Fri, Jul 13, 2018 at 1:03 PM Pradeepkumar Kori notifications@github.com wrote:

@achus-ui https://github.com/achus-ui thanks for the help, but I changed my login plugin.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/heresy/angular2-social-login/issues/36#issuecomment-404751609, or mute the thread https://github.com/notifications/unsubscribe-auth/AQU9ko4PNZk9Licquap984p-vw0Df_a6ks5uGE0-gaJpZM4UnYN5 .

pradeekumar commented 6 years ago

Hi @achus-ui
I am using this plugin. https://github.com/abacritt/angularx-social-login

achus-ui commented 6 years ago

Thanks!

Regards Harikrishnan S Mob: +91 9847 400 944

On Mon, Jul 16, 2018 at 10:41 AM Pradeepkumar Kori notifications@github.com wrote:

Hi @achus-ui https://github.com/achus-ui I am using this plugin. https://github.com/abacritt/angularx-social-login

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/heresy/angular2-social-login/issues/36#issuecomment-405150428, or mute the thread https://github.com/notifications/unsubscribe-auth/AQU9ku27_HA3d3k2VoVnlvgjQCgGZ5Htks5uHCCBgaJpZM4UnYN5 .