Merge pull request #1784 from wallabag/v2-add-refresh-token

add refresh-token grant-type
This commit is contained in:
Nicolas Lœuillet 2016-03-14 06:14:22 +01:00
commit 5cc9b5151f

View file

@ -43,7 +43,7 @@ class DeveloperController extends Controller
$clientForm->handleRequest($request);
if ($clientForm->isValid()) {
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password'));
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token'));
$em->persist($client);
$em->flush();