feat(auth): support redirect path for oauth

This commit is contained in:
fiftin 2024-03-11 18:25:32 +01:00
parent d2db315eac
commit 3404c40c57

View File

@ -374,6 +374,7 @@ func oidcLogin(w http.ResponseWriter, r *http.Request) {
redirectPath := ""
if r.URL.Query()["redirect"] != nil {
// TODO: validate path
redirectPath = r.URL.Query()["redirect"][0]
}