sentry icon indicating copy to clipboard operation
sentry copied to clipboard

GitHub Integration Problem - opens new modal and redirects

Open thenitai opened this issue 1 year ago • 5 comments

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Enabled SSO with Github
  2. Go to Github integration
  3. Click on "Add installation"
  4. It opens a new modal redirecting to /organizations/helpmonks/issues/
  5. No integration is done. Going back to integration shows "add installation"

Expected Result

That it works :)

Actual Result

image image

Product Area

Settings - Integrations

Link

No response

DSN

No response

Version

24.4.2

thenitai avatar May 04 '24 20:05 thenitai

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar May 04 '24 20:05 getsantry[bot]

I've got the same issue

bijanGh avatar May 06 '24 18:05 bijanGh

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar May 07 '24 17:05 getsantry[bot]

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

getsantry[bot] avatar May 07 '24 17:05 getsantry[bot]

Does anyone have a solution?

thenitai avatar May 10 '24 02:05 thenitai

Same problem here

sneycampos avatar May 10 '24 16:05 sneycampos

As for me. I have follow the documentation. Here, at the "User authorization callback URL" says to set it to ${url-prefix}/auth/sso/. But I have tried open network inspector and saw that redirect URL is mismatch. It actually redirect to ${url-prefix}/extensions/github/setup/ (The same one as "Setup URL (optional)") image

I therefore try to set callback URL to the same one as setup URL like below at GitHub app settings page. Work nicely for me. image

buratud avatar May 11 '24 15:05 buratud

thanks @buratud for me it showed as installed after setup url update, if anybody encounter this try to uninstall it from github apps section installed apps and try again.

bijanGh avatar May 11 '24 18:05 bijanGh