Open micahdbak opened 4 months ago
Instead of providing the entire URL to redirect to (e.g., https://new.sfucsss.org/#profile), populate search params instead.
E.g.,
https://api.sfucsss.org/auth/login?page=profile -> https://new.sfucsss.org/#profile https://api.sfucsss.org/auth/login?app=elections&page=2025/1 -> https://new.sfucsss.org/elections/#2025/1 ...
cool idea! I like it
Instead of providing the entire URL to redirect to (e.g., https://new.sfucsss.org/#profile), populate search params instead.
E.g.,
https://api.sfucsss.org/auth/login?page=profile -> https://new.sfucsss.org/#profile https://api.sfucsss.org/auth/login?app=elections&page=2025/1 -> https://new.sfucsss.org/elections/#2025/1 ...