Skip to content

fix: normalize Google Workspace token schema for gws#10919

Closed
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/google-workspace-token-type
Closed

fix: normalize Google Workspace token schema for gws#10919
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/google-workspace-token-type

Conversation

@LeonSGP43

Copy link
Copy Markdown
Contributor

Summary

  • normalize freshly written Google Workspace tokens to include type: authorized_user
  • apply the same normalization when the Python SDK path refreshes credentials
  • apply the same normalization when the gws bridge refreshes expired tokens

Why

Fixes #10913. Fresh OAuth setup could write a token JSON that Hermes accepted but the gws path rejected because the authorized-user type field was missing.

Testing

  • pytest -o addopts= tests/skills/test_google_oauth_setup.py tests/skills/test_google_workspace_api.py

@teknium1

Copy link
Copy Markdown
Contributor

Merged via PR #10986. Your commit was cherry-picked onto current main with your authorship preserved in git log. Thanks for the fix @LeonSGP43!

@teknium1 teknium1 closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: google-workspace writes a fresh token without "type", and the gws path rejects it until a later runtime rewrite

2 participants