Fix comment for implicit flow
This commit is contained in:
parent
709d4169d6
commit
d2c9305e0f
@ -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'")
|
return nil, newErr("invalid_request", "Response type 'token' must be provided with type 'id_token' and/or 'code'")
|
||||||
}
|
}
|
||||||
if !rt.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.
|
// implicit flow. Implicit flow requires a nonce value.
|
||||||
//
|
//
|
||||||
// https://openid.net/specs/openid-connect-core-1_0.html#ImplicitAuthRequest
|
// https://openid.net/specs/openid-connect-core-1_0.html#ImplicitAuthRequest
|
||||||
|
Reference in New Issue
Block a user