bb-plane-fork/apps/api/plane/authentication
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
..
adapter chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
middleware chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
provider [WEB-4045] feat: restructuring of the external APIs for better maintainability (#7477) 2025-07-25 00:17:05 +05:30
utils chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
views [WEB-4943]fix: next path url redirection (#7817) 2025-09-17 18:52:35 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
apps.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
rate_limit.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
session.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
urls.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30