Skip to content

Resource protected by organization SAML enforcement #1121

@lilyjma

Description

@lilyjma

I'm connected to the GitHub MCP server on VSCode. When asking a GitHub related question in Copilot Agent mode, I'd get the following error:

Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization.

Couldn't find any issue related to this in this repo. Though I did find one in the CLI repo, which suggests me to re-authenticate to GitHub with gh auth login. I tried before prompting Copilot but no luck. Same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions