Skip to content

Commit

Permalink
Merge pull request #1721 from candlerb/fix-token-comment
Browse files Browse the repository at this point in the history
Fix comment for implicit flow
  • Loading branch information
sagikazarmark authored May 31, 2020
2 parents 0a9f565 + d2c9305 commit 2ca992e
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 2ca992e

Please sign in to comment.