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

GitHub plugin issues on community after switching to SSO #809

Open
wiggin77 opened this issue Jul 30, 2024 · 0 comments · May be fixed by #832
Open

GitHub plugin issues on community after switching to SSO #809

wiggin77 opened this issue Jul 30, 2024 · 0 comments · May be fixed by #832

Comments

@wiggin77
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1 participant