August lock integration stopped working after core-2021.11.5 update

hello,

i just updated my home assistant to version “core-2021.11.5” I’m using August lock 3
integration via wifi, not zwave
it was working for over a year now but suddenly after updating home assistant it stopped working
i removed it and tried to integrate it again but the same error - usually i asked to enter verifying code i get from email when trying to integrate but i didn’t.

Logger: homeassistant.config_entries
Source: components/august/gateway.py:131
First occurred: November 30, 2021, 9:39:53 PM (2 occurrences)
Last logged: 9:40:59 AM

Error setting up entry [email protected] for august
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 43, in async_setup_entry
    return await async_setup_august(hass, entry, august_gateway)
  File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 79, in async_setup_august
    await data[DATA_AUGUST].async_setup()
  File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 137, in async_setup
    await self.activity_stream.async_setup()
  File "/usr/src/homeassistant/homeassistant/components/august/activity.py", line 42, in async_setup
    await self._async_refresh(utcnow())
  File "/usr/src/homeassistant/homeassistant/components/august/activity.py", line 92, in _async_refresh
    await self._august_gateway.async_refresh_access_token_if_needed()
  File "/usr/src/homeassistant/homeassistant/components/august/gateway.py", line 131, in async_refresh_access_token_if_needed
    await self.authenticator.async_refresh_access_token(force=False)
  File "/usr/local/lib/python3.9/site-packages/yalexs/authenticator_async.py", line 126, in async_refresh_access_token
    authentication = self._process_refreshed_access_token(refreshed_token)
  File "/usr/local/lib/python3.9/site-packages/yalexs/authenticator_common.py", line 140, in _process_refreshed_access_token
    jwt_claims = json.loads(base64.b64decode(jwt_parts[1] + "==="))
  File "/usr/local/lib/python3.9/base64.py", line 87, in b64decode
    return binascii.a2b_base64(s)
binascii.Error: Invalid base64-encoded string: number of data characters (649) cannot be 1 more than a multiple of 4

Does anyone has the same issue or is it just me?

follow up:

after one year you have to delete the token file and reissue a new one
you will find it in the same folder that contains configuration.yaml called (.youremail.august.conf)
delete it then restart your home assistant

Looks like the token was corrupted at some point. Usually this process is automatic