Closed andy-taylor-sift closed 9 years ago
Hello, Is there now a workaround for this issue ? Thanks for your answer.
The quick fix above does allow access without having to purge cookies. We use Google Apps and this bug affects only some users. The distribution seems to be random.
I think this issue is related to users who are switching between multiple Google accounts. This pullrequest should fix it: https://github.com/kettari/authgoogle/pull/34
Hi guys,
I tested PR https://github.com/kettari/authgoogle/pull/34 here, works fine
Merged.
Hello,
I think the merge of this fix:
https://github.com/kettari/authgoogle/pull/26
has partially broken the module. The initial login works fine, but after a few hours (so presumably once the session times out?) we see this error:
The only way to get around it is to delete the session cookies. I think this is due to the change of access type to 'online' and approval prompt to 'auto'. I think this means we don't get a refresh token from Google when we log in, which means we can't then obtain another access token when the initial one expires.
To get around this for now I've commented out the following in auth.php:
which reintroduces the Google asking for approval on each login issue, but at least it means sessions won't completely break after a few hours.