handle new callback path

This commit is contained in:
Livio Amstutz 2020-11-27 07:12:20 +01:00
parent bb162f15ab
commit f9afa35460
2 changed files with 2 additions and 2 deletions

View file

@ -68,5 +68,5 @@ func HandleLogin(w http.ResponseWriter, r *http.Request) {
func HandleCallback(w http.ResponseWriter, r *http.Request) {
r.ParseForm()
client := r.FormValue("client")
http.Redirect(w, r, "/authorize?"+client, http.StatusFound)
http.Redirect(w, r, "/authorize/callback?id="+client, http.StatusFound)
}