Skip to content

Commit 159a208

Browse files
committed
fix(auth): Correct path used for SSO errors
The route for sentry-organization-auth-settings was still located in the old settings path, this route is used for a redirect in the auth.helper module when there is a problem configuring SSO. This just corrects the redirect so it goes back to settings instead of 404ing.
1 parent e369841 commit 159a208

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sentry/web/urls.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,11 @@
448448
react_page_view,
449449
name="sentry-organization-member-settings",
450450
),
451+
url(
452+
r"^(?P<organization_slug>[\w_-]+)/auth/$",
453+
react_page_view,
454+
name="sentry-organization-auth-settings",
455+
),
451456
url(r"^", react_page_view),
452457
]
453458
),
@@ -509,11 +514,6 @@
509514
react_page_view,
510515
name="sentry-organization-api-key-settings",
511516
),
512-
url(
513-
r"^(?P<organization_slug>[\w_-]+)/auth/$",
514-
react_page_view,
515-
name="sentry-organization-auth-settings",
516-
),
517517
url(
518518
r"^(?P<organization_slug>[\w_-]+)/auth/configure/$",
519519
OrganizationAuthSettingsView.as_view(),

0 commit comments

Comments
 (0)