Try to sync with refresh token

This commit is contained in:
Micke Nordin 2024-01-15 11:08:27 +01:00
parent e92dd6bd10
commit 755b165302
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -33,6 +33,7 @@ hub:
if not auth_state:
return
access_token = auth_state['access_token']
access_token = auth_state['refresh_token']
spawner.environment['NEXTCLOUD_ACCESS_TOKEN'] = access_token
async def refresh_user(self, user, handler=None):