mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat(auth): support redirect path for oauth
This commit is contained in:
parent
d2db315eac
commit
3404c40c57
@ -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]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user