Skip to content

Commit

Permalink
Changed .well-known endpoints to write status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Apr 18, 2024
1 parent 57166c5 commit b45821e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ func (s *Server) StartIdentityProvider() error {
if err != nil {
return
}
w.WriteHeader(200)
w.Write(b)
})

Expand Down Expand Up @@ -381,6 +382,7 @@ func (s *Server) StartIdentityProvider() error {
if err != nil {
return
}
w.WriteHeader(200)
w.Write(b)
})
r.HandleFunc("/register", func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit b45821e

Please sign in to comment.