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

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

@rafaeltuelho

Description

@rafaeltuelho

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()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions