Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles with GitHub SSO #187

Open
gfx opened this issue Oct 21, 2020 · 1 comment
Open

Troubles with GitHub SSO #187

gfx opened this issue Oct 21, 2020 · 1 comment

Comments

@gfx
Copy link

gfx commented Oct 21, 2020

I have troubles with GitHub SSO. When the access token is authorized for some (but not all) SSO-enabled orgs, the GraphQL API returns both data and errors. The error field has something like this:

"data": { ... }, // partial data, without non-authorized org's
"errors":[
    {
      "type":"FORBIDDEN",
      "path":[
        "nodes",
        3,
        "timelineItems",
        "nodes",
        21
      ],
      "extensions":{
        "saml_failure":true
      },
      "locations":[
        {
          "line":142,
          "column":7
        }
      ],
      "message":"Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization."
    },
    ...
  ]
}

When I authorized all the orgs for the access token, Jasper works well, but it's better to ignore the partial FORBIDDEN errors.

Thanks in advance.

@gfx
Copy link
Author

gfx commented Oct 21, 2020

I've noted this issue to share my troubles, but feel free to close it because there is already a workaround.

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

No branches or pull requests

1 participant