-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[auth] Require tos acceptance on UI login (#14798)
## Change Description Changes login flow in the UI to go via the user page, which gives us a chance to show (and require acceptance of) the terms of service: <img width="940" alt="image" src="https://github.com/user-attachments/assets/b656a577-4432-47fe-acd5-971a2373207f" /> Notes to reviewers: - It should not be possible to log in via the UI except via the `/user` page (ignoring direct url-surfing to the `/login` url) - The next_url mechanism should continue to work as before (ie navigate to `/batches` > prompted to login > login success > should end up on the batches page) ## Security Assessment Delete all except the correct answer: - This change has a medium security impact ### Impact Description Moves the login button and updates some redirects, but does not fundamentally alter anything about the login flow. (Reviewers: please confirm the security impact before approving)
- Loading branch information
1 parent
b8bea26
commit 5539028
Showing
5 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters