Skip to content

[2.1] fix(mcp): accept google issuer without scheme - #38557

Merged
Vishnuujain merged 1 commit into
2.1from
backport/2.1-38258-mcp-google-issuer
Nov 24, 2026
Merged

Vishnuujain merged 1 commit into
2.1from
backport/2.1-38258-mcp-google-issuer

Conversation

@Vishnuujain

@Vishnuujain Vishnuujain commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick of #38258 to 2.1. Clean cherry-pick -x of db716a2, same patch as main.

Not built or tested locally on 2.1; relying on CI.


Summary by Gitar

  • Bug fix:
    • Accept accounts.google.com issuer without scheme in IdTokenValidator
    • Made ProviderTokenValidator.isGoogleSchemelessIssuer public for reuse
  • Tests:
    • Added tests for accepting schemeless Google issuer and rejecting it for other providers

This will update automatically on new commits.

* fix(mcp): accept google issuer without scheme

* test google issuer stays refused for other providers

(cherry picked from commit db716a2)
@Vishnuujain
Vishnuujain requested a review from a team as a code owner November 24, 2026 08:08
@Vishnuujain
Vishnuujain requested review from pmbrull and removed request for a team November 24, 2026 08:08
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk

Accepting Google's schemeless issuer changes ID-token authentication; tokens with that issuer can now pass validation where issuer mismatches were rejected.

Accepts the accounts.google.com issuer without a scheme in IdTokenValidator, with ProviderTokenValidator.isGoogleSchemelessIssuer made public for reuse and tests covering both accepting it for Google and rejecting it for other providers. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Vishnuujain
Vishnuujain merged commit cfc92bd into 2.1 Nov 24, 2026
44 of 46 checks passed
@Vishnuujain
Vishnuujain deleted the backport/2.1-38258-mcp-google-issuer branch November 24, 2026 08:51
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.

1 participant