fix(auth): map meet service to meetings scope prefix#7
Merged
shigechika merged 2 commits intomainfrom May 2, 2026
Merged
Conversation
gws auth login -s meet silently requested zero Meet scopes because the Meet API exposes scopes under the meetings.* prefix, not meet.*. Add the mapping so the existing dynamic-augmentation path picks up all Meet scopes from the Discovery document. Mirrors upstream PR googleworkspace#754.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gws auth login -s meetが Meet スコープを1件も要求しない問題を修正。Meet API のスコープは
meetings.*プレフィックス(例:meetings.space.readonly)だが、CLI の service alias はmeetのため、map_service_to_scope_prefixesのフォールスルーで"meet"がそのままスコープ検索に使われ、マッチが0件になっていた。"meet" => vec!["meetings"]を追加することで、既存のaugment_with_dynamic_scopesパスが Discovery document からすべての Meet スコープを自動取得するようになる。Test plan
cargo clippy -- -D warnings— 警告なしcargo test— 823テスト全通過scope_matches_service_meet(meetings.space.{created,readonly,settings} の3スコープを検証)References
🤖 Generated with Claude Code