Skip to content

GitHub plugin issues on community after switching to SSO #809

@wiggin77

Description

@wiggin77

After the org’s SSO switch, the LHS counts for the GH plugin were not showing. It seems there is a problem with continuing use of the OAuth token. Reconnecting fixes the issue, though users that have not reconnected cause this error in the logs:

{

"msg":"Failed to search for assignments",

"error":"GET https://api.github.com/search/issues?q=is%3Aopen++archived%3Afalse+org%3Amattermost: 422 Validation Failed [{Resource:Search Field:q Code:invalid Message:The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.}]"

}

Potential solution

  • Have checks in place for errors
  • Treat tokens as revoked/expired and ask user to reconnect

Jira: https://mattermost.atlassian.net/browse/MM-52262

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions