Skip to content

Commit

Permalink
Fix comment for implicit flow
Browse files Browse the repository at this point in the history
  • Loading branch information
candlerb committed May 21, 2020
1 parent 709d416 commit d2c9305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/oauth2.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ func (s *Server) parseAuthorizationRequest(r *http.Request) (*storage.AuthReques
return nil, newErr("invalid_request", "Response type 'token' must be provided with type 'id_token' and/or 'code'")
}
if !rt.code {
// Either "id_token code" or "id_token" has been provided which implies the
// Either "id_token token" or "id_token" has been provided which implies the
// implicit flow. Implicit flow requires a nonce value.
//
// https://openid.net/specs/openid-connect-core-1_0.html#ImplicitAuthRequest
Expand Down

0 comments on commit d2c9305

Please sign in to comment.