humhub / humhub

HumHub is an Open Source Enterprise Social Network. Easy to install, intuitive to use and extendable with countless freely available modules.
https://www.humhub.com
Other
6.25k stars 1.66k forks source link

Oauth Enhancement #3253

Open Felli opened 5 years ago

Felli commented 5 years ago

We need to implement token refreshing so that users aren't logged out as soon as they close the tab, or at least make it an option within the Remember me option.

DeltaLima commented 5 years ago

If you need some debugging Data, I can provide them. We have exactly this problem with our HumHub Instance. (Using Google Oauth2)

Felli commented 5 years ago

The simple way of doing this would be using $autoRefreshAccessToken & refreshAccessToken() I believe, see on Yii's docs here.