Add in validation for authorization requests.

Fixes thephpleague/oauth2-server#677
This commit is contained in:
Sephster 2017-11-14 00:12:04 +00:00
parent dc9c1a1023
commit b50c7622db
2 changed files with 4 additions and 0 deletions

View File

@ -1707,5 +1707,7 @@ class AuthCodeGrantTest extends TestCase
'redirect_uri' => 'http://foo/bar', 'redirect_uri' => 'http://foo/bar',
] ]
); );
$grant->validateAuthorizationRequest($request);
} }
} }

View File

@ -447,5 +447,7 @@ class ImplicitGrantTest extends TestCase
'redirect_uri' => 'http://foo/bar', 'redirect_uri' => 'http://foo/bar',
] ]
); );
$grant->validateAuthorizationRequest($request);
} }
} }