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

Remove wagtail utility routes for authentication #12655

Merged

Conversation

ramram-mf
Copy link
Collaborator

@ramram-mf ramram-mf commented Jul 23, 2024

Description

This PR removes the base wagtail utility routes from unauthenticated user access, while preserving custom url patterns needed by the app.

To test

Link to /_util/login (should 404): https://foundation-s-tp1-334-on-yog1kg.herokuapp.com/en/_util/login/
Link to custom url serve pattern (should both work):

Link to sample test page: https://foundation-s-tp1-334-on-yog1kg.herokuapp.com/en/privacynotincluded/categories/health-exercise/
Related PRs/issues: #12062

┆Issue is synchronized with this Jira Story

@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-334-on-cs2rbc July 26, 2024 18:49 Inactive
@ramram-mf ramram-mf self-assigned this Aug 16, 2024
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-334-on-yog1kg August 16, 2024 16:51 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-334-on-yog1kg August 19, 2024 17:31 Inactive
@ramram-mf ramram-mf marked this pull request as ready for review August 19, 2024 17:31
Copy link
Collaborator

@robdivincenzo robdivincenzo left a comment

Choose a reason for hiding this comment

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

LGTM @ramram-mf! Once merged to staging, let's double-check SSO login to make sure there's no magic happening with these routes behind the scenes 👍

@ramram-mf ramram-mf merged commit fd1c05c into main Aug 26, 2024
6 checks passed
@ramram-mf
Copy link
Collaborator Author

It looks like this removal would affect the password protection endpoints so I'm reverting it and getting it back to development in order to rethink the PRs approach.

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.

2 participants