bb-plane-fork/apps/api/plane/authentication/views/space
Vamsi Krishna 877c117c37
[WEB-4943]fix: next path url redirection (#7817)
* fix: next path url redirection

* fix: enhance URL redirection safety in authentication views

Updated SignInAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, and GoogleCallbackSpaceEndpoint to include checks for allowed hosts and schemes before redirecting. This improves the security of URL redirection by ensuring only valid URLs are used.

* chore: updated uitl to handle double /

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
2025-09-17 18:52:35 +05:30
..
check.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
email.py [WEB-4943]fix: next path url redirection (#7817) 2025-09-17 18:52:35 +05:30
github.py [WEB-4943]fix: next path url redirection (#7817) 2025-09-17 18:52:35 +05:30
gitlab.py [WEB-4943]fix: next path url redirection (#7817) 2025-09-17 18:52:35 +05:30
google.py [WEB-4943]fix: next path url redirection (#7817) 2025-09-17 18:52:35 +05:30
magic.py [WEB-4943] refactor: enhance URL validation and redirection logic in authentication views (#7815) 2025-09-17 16:13:32 +05:30
password_management.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
signout.py [WEB-4900]: validated authentication redirection paths (#7798) 2025-09-16 00:01:06 +05:30