Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

access_token remains live even after 'Auth.logout()' #76

Open
rafaeltuelho opened this issue Aug 30, 2016 · 0 comments
Open

access_token remains live even after 'Auth.logout()' #76

rafaeltuelho opened this issue Aug 30, 2016 · 0 comments

Comments

@rafaeltuelho
Copy link

rafaeltuelho commented Aug 30, 2016

It appears user remains logged in even after you call GAuth.logout(). Is that an issue or I'm misinterpreting the GApi/GAuth way?

After calling GAuth.logout(), I closed my browser window and when I return to my app the GAuth.checkAuth() returns ther user as authenticated. If I call GAuth.getToken() I can see it alive:

....
Object {state: "", access_token: "ya29.CjBPA-aalkjaljflajkf-state:""
status:Object
google_logged_in:false
method:"AUTO"
signed_in:true
__proto__:Object
token_type: "Bearer"
...

Maybe you have to call gapi.auth.signOut() inside GAuth.logout()?

@rafaeltuelho rafaeltuelho changed the title access_token remains live even after Auth.logout() access_token remains live even after 'Auth.logout()' Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant