fix: append client id to aud

This commit is contained in:
Fabiennne 2020-11-25 13:16:20 +01:00
parent 2370409a55
commit bb162f15ab

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?"+client, http.StatusFound)
}