Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
giftkugel committed Aug 27, 2024
1 parent da6dc75 commit b2c5954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/handler/authorize/authorize.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (h *Handler) handleGetRequest(w http.ResponseWriter, r *http.Request) {

state := r.URL.Query().Get(oauth2.ParameterState)

responseTypes := []oauth2.ResponseType{}
var responseTypes []oauth2.ResponseType
responseTypeQueryParameter := r.URL.Query().Get(oauth2.ParameterResponseType)
responseTypeQueryParameters := strings.Split(responseTypeQueryParameter, " ")
for _, currentQueryParameter := range responseTypeQueryParameters {
Expand Down

0 comments on commit b2c5954

Please sign in to comment.