mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 10:42:02 +05:30
Add in validation for authorization requests.
Fixes thephpleague/oauth2-server#677
This commit is contained in:
parent
dc9c1a1023
commit
b50c7622db
@ -1707,5 +1707,7 @@ class AuthCodeGrantTest extends TestCase
|
|||||||
'redirect_uri' => 'http://foo/bar',
|
'redirect_uri' => 'http://foo/bar',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$grant->validateAuthorizationRequest($request);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -447,5 +447,7 @@ class ImplicitGrantTest extends TestCase
|
|||||||
'redirect_uri' => 'http://foo/bar',
|
'redirect_uri' => 'http://foo/bar',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$grant->validateAuthorizationRequest($request);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user