mirror of
https://github.com/davidallendj/opaal.git
synced 2026-06-03 08:31:52 -06:00
Compare commits
No commits in common. "722ee4f40f9cd1612eaeae6b22be71972747cdaf" and "e0a8d434211c29be3b4808e3dfcedaa2a713bf8a" have entirely different histories.
722ee4f40f
...
e0a8d43421
1 changed files with 0 additions and 3 deletions
|
|
@ -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))
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue