CSSS / csss-site-backend

CSSS Website Backend (2024 - Present)
4 stars 0 forks source link

Use search params for the redirect URL (auth) #35

Open micahdbak opened 4 months ago

micahdbak commented 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 ...

EarthenSky commented 4 months ago

cool idea! I like it