Compare commits

..

No commits in common. "722ee4f40f9cd1612eaeae6b22be71972747cdaf" and "e0a8d434211c29be3b4808e3dfcedaa2a713bf8a" have entirely different histories.

View file

@ -137,7 +137,6 @@ func (s *Server) StartLogin(clients []oauth.Client, params ServerParams) error {
}
})
r.HandleFunc("/keys", func(w http.ResponseWriter, r *http.Request) {
var (
p = params.AuthProvider
jwks []byte
@ -183,7 +182,6 @@ func (s *Server) StartLogin(clients []oauth.Client, params ServerParams) error {
return
}
w.Header().Set("Content-Type", "application/json")
w.Write(jwks)
})
r.HandleFunc("/token", func(w http.ResponseWriter, r *http.Request) {
@ -219,7 +217,6 @@ func (s *Server) StartLogin(clients []oauth.Client, params ServerParams) error {
http.Redirect(w, r, "/error", http.StatusInternalServerError)
return
}
w.Header().Set("Content-Type", "application/json")
w.Write([]byte(accessToken))
}
})