From d2c9305e0fb41f6190425534297650d74c6d7699 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Thu, 21 May 2020 12:00:53 +0100 Subject: [PATCH] Fix comment for implicit flow --- server/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/oauth2.go b/server/oauth2.go index ecc619d6..05dd25d2 100644 --- a/server/oauth2.go +++ b/server/oauth2.go @@ -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