Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into master_1.5.1_autofac
Browse files Browse the repository at this point in the history
Conflicts:
	default.ps1
	source/VersionAssemblyInfo.cs
  • Loading branch information
brockallen committed May 8, 2015
2 parents 8f293f6 + ae8a2cb commit 2645627
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/Core/Validation/AuthorizeRequestValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,13 @@ private AuthorizeRequestValidationResult ValidateOptionalParameters(ValidatedAut
}
else
{
if (request.Flow == Flows.Implicit)
if (request.Flow == Flows.Implicit ||
request.Flow == Flows.Hybrid)
{
// only openid requests require nonce
if (request.IsOpenIdRequest)
{
LogError("Nonce required for implicit flow with openid scope", request);
LogError("Nonce required for implicit and hybrid flow with openid scope", request);
return Invalid(request, ErrorTypes.Client);
}
}
Expand Down

0 comments on commit 2645627

Please sign in to comment.