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

feature/1784 - Fix oidc callback redirect to go to login redirect as opposed to '/' which was previously redirecting to login #1230

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

sasha-dresden
Copy link
Contributor

Issue FECFILE-1784

@@ -33,8 +33,7 @@ def get_api_status(_request):
re_path(BASE_V1_URL, include("fecfiler.feedback.urls")),
re_path(BASE_V1_URL, include("fecfiler.oidc.urls")),
re_path(BASE_V1_URL, include("fecfiler.cash_on_hand.urls")),
re_path(r"", include("fecfiler.devops.urls")),
path("", RedirectView.as_view(url=LOGIN_REDIRECT_CLIENT_URL)),
path("", RedirectView.as_view(url="/api/docs/")),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need re_path(r"", include("fecfiler.devops.urls")),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this and got it ordered so path("") call comes before re_path("") call to prevent authentication issue with "" route.

@toddlees toddlees merged commit e76ec20 into develop Dec 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants