jasper icon indicating copy to clipboard operation
jasper copied to clipboard

Troubles with GitHub SSO

Open gfx opened this issue 5 years ago • 1 comments

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 avatar Oct 21 '20 01:10 gfx

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

gfx avatar Oct 21 '20 01:10 gfx