mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Set the scope parameter to not be required by default. Fixes #43
This commit is contained in:
		@@ -156,6 +156,7 @@ class Auth_Code_Grant_Test extends PHPUnit_Framework_TestCase
 | 
			
		||||
        $g = new League\OAuth2\Server\Grant\AuthCode($a);
 | 
			
		||||
        $a->addGrantType($g);
 | 
			
		||||
        $a->addGrantType(new League\OAuth2\Server\Grant\AuthCode($a));
 | 
			
		||||
        $a->requireScopeParam(true);
 | 
			
		||||
 | 
			
		||||
        $g->checkAuthoriseParams(array(
 | 
			
		||||
            'client_id' =>  1234,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user