Skip to content

Commit 8b10e83

Browse files
mostlygeekawly
andauthored
Update server/authorize.go
Co-authored-by: Andrew Lytvynov <[email protected]> Signed-off-by: Benson Wong <[email protected]>
1 parent 015ee1a commit 8b10e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/authorize.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (s *IDPServer) serveAuthorize(w http.ResponseWriter, r *http.Request) {
132132
}
133133
parsedURL, err := url.Parse(redirectURI)
134134
if err != nil {
135-
writeHTTPError(w, r, http.StatusInternalServerError, ecServerError, "invalid redirect URI", nil)
135+
writeHTTPError(w, r, http.StatusInternalServerError, ecServerError, "invalid redirect URI", err)
136136
return
137137
}
138138
parsedURL.RawQuery = queryString.Encode()

0 commit comments

Comments
 (0)