Troubles with GitHub SSO
gfx opened this issue · 1 comments
gfx commented
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 commented
I've noted this issue to share my troubles, but feel free to close it because there is already a workaround.