gapi.auth.signOut(); not working I'm lost

前端 未结 3 1527
無奈伤痛
無奈伤痛 2020-12-03 03:56

Below is the code I am using to login with google. I have an element on login.php with id authorize-button. When clicked it logs in just fine.

I have a logout li

3条回答
  •  無奈伤痛
    2020-12-03 04:15

    Weird issue, but solved my problem by rendering the signin button (hidden) even if the user is authenticated.

    See full question/answer here https://stackoverflow.com/a/19356354/353985

提交回复
热议问题