Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

gapi.auth.signout() doesn't call the callback if more than 60 minutes have elapsed since signin. #809

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation states that the callback will be called with a new 
authorization result object when this function is executed.

This works fine until the signin access token has expired (60 minutes) then the 
callback is never called.

So if a user is signed into a Single Page Application for more than 60 minutes 
they cannot sign out of the application.

The workaround is to refresh the page then signout, which isn't a reasonable 
solution.

https://developers.google.com/+/web/signin/sign-out

Original issue reported on code.google.com by anthonym...@gmail.com on 10 Apr 2014 at 10:54

GoogleCodeExporter commented 9 years ago
WIP. This requires auto-refresh of the token.

Original comment by fa...@google.com on 4 Oct 2014 at 1:30