Closed atodorov closed 4 years ago
In Sentry breadcrumbs I see django.request | Not Found: /webhooks/github-app/
which is the path I have configured for this app to receive webhooks to. It still doesn't exist (GH integration under development). Could it be the issue ?
I am seeing some issues with a newly created GitHub App (not oauth app). Could be related to https://github.com/python-social-auth/social-core/issues/111, I don't know.
The issue is sometimes things work, sometimes not exactly.
Scenario 1: new user login from website - PASS:
In their account settings in GitHub they can see "Kiwi TCMS" under "Authorized GitHub Apps", but not under "Installed GitHub Apps", that is the app has access to their account but not to their repositories.
Scenario 2: Install GH app - FAIL: 1) User goes to https://github.com/apps/kiwi-tcms/installations/new, goes through the motions and is finally redirected to https://public.githubapp.kiwitcms.org/complete/github/?code=xxxxxxx&installation_id=xxxxx&setup_action=install
and here I get 500 ISE.
In both of the above scenarios the app is configured to redirect back to https://public.githubapp.kiwitcms.org/complete/github/ and
Request user authorization (OAuth) during installation
checkbox is checked.During experimentation by removing the
/complete/github/
path of the URL I was somehow able to complete the "Install" process and was directly redirected to the main page of the app (requires login). However I'm not able to reproduce this consistently.I will continue digging into this but figured I may get some help here or be useful to others.