Skip to content

Commit

Permalink
Revert domain name check
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
  • Loading branch information
kfox1111 committed Dec 15, 2024
1 parent 63d7981 commit f35e79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/oidc-discovery-provider/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (h *Handler) serveWellKnown(w http.ResponseWriter, r *http.Request) {
}
}

if err := h.verifyHost(host); err != nil {
if err := h.verifyHost(r.Host); err != nil {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
Expand Down

0 comments on commit f35e79b

Please sign in to comment.