Bug: Google auth requests every few hours
macOS version
15.5
MeetingBar version
4.11.2
Installation source
Homebrew
Calendars provider
Google Calendar
Bug description
Since upgrading to newest rewritten core MeetingBar, every few hours, I am requested to re-auth with my google account. This did not occur with the previous version of MeetingBar.
The "MeetingBar already has access to these four services" makes me wonder if me having two google accounts from which MeetingBar can choose could be the actual root cause of the problem. Not sure though!
Thank you for MeetingBar - it is a wonderful tool.
Reproduction steps
No response
Expected behavior
No response
Screenshots/screen recordings
No response
Additional context
No response
Hi @Techneaux! I'm Dosu and I’m helping the MeetingBar team.
Based on what I found, MeetingBar’s current Google authentication system is designed for a single Google account per session, and there are no built-in mechanisms for handling or persisting multiple Google accounts at once. The authentication state is stored in the Keychain and should persist across app launches, but if there are issues with the Keychain or if the app is confused by multiple Google accounts, it could cause repeated re-authentication requests. This behavior appears to have changed with the rewritten core in version 4.11.2, and there are no existing issues or documentation specifically addressing multiple Google accounts or this frequent auth prompt problem.
Known issues with Google Calendar integration include authorization errors and data fetching errors, which could potentially cause the app to lose its authentication state and prompt for re-authentication more often than expected (source). The codebase confirms that only one Google account is tracked at a time, and the authentication state is keyed to a single account (source).
If you suspect the presence of multiple Google accounts is contributing to the issue, you could try temporarily removing one account from your browser or Google session and re-authenticating in MeetingBar to see if the problem persists. Also, ensure that MeetingBar has full access to the macOS Keychain and that no system-level security or privacy settings are interfering with credential storage.
There is no official workaround documented for this specific scenario, but using only one Google account with MeetingBar may help isolate the cause. If the issue continues, it may be related to a bug in the new authentication logic or a change in how tokens are refreshed and persisted.
To reply, just mention my name @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Thanks for the report! Working on it.
Released in 4.11.3. Homebrew update is on the way: https://github.com/Homebrew/homebrew-cask/pull/214860
Thank you for your rapid response and fix! I have not received any additional auth requests after upgrading to the latest version.
Unfortunately it appears I closed the issue too fast @leits. I received one auth request last night and then again this morning:
Thanks for your help! Prepared the new release with silent token refresh instead of explicit promting: https://github.com/leits/MeetingBar/releases/tag/v4.11.5
This doesn't work for me, unfortunately. I have to reconnect the calendar every morning. I have updated to v4.11.5 yesterday but unfortunately it didn't help and I had to reauthorise again.
@slawekp Fingers crossed but I haven't had to re-auth in two days now. I did click this button once to set up everything again, not sure if that impacted success?
Ah, nope, sadly I had another auth request this morning as well.
It re-prompts within minutes after auth for me. If I use "Change Google Account" and select my calendars, I can see the list empties seconds later as if the auth is lost.
4.11.5
Could it be related to google auth? I changed to use apple calendar integration instead, but I was prompted for reauth after a day for apple too.
Looks like I'm having similar issue as @dazulu now. If I auth, I get asked to re-grant all permissions now. I can see my calendar list in meetingbar for a moment but then it disappears. Currently, google calendar integration is not working at all for me.
Ah, GCP (and Google Calendar) are having service issues today, so that's likely above root cause of my new issues.
Please, check out the new version: https://github.com/leits/MeetingBar/releases/tag/v4.11.6
GitHub
Release v4.11.6 · leits/MeetingBarAdditional bug fixes for Google Calendar integration Full Changelog: v4.11.5...v4.11.6
Issue seems fixed. Reopen if it happens again.
@leits This seems to be a whole lot better, but it still requires me to reauth every week or so, whereas before the rewrite I never had to reauth at all after first setting it up. Reauthing weekly is tolerable but a little annoying--is this expected now?
I'm having the same issue as @scottsb - except for me it's requiring re-auth basically every day. On 4.11.6.