Skip to content

Commit 5f42920

Browse files
committed
Merge pull request #630 from felixkiss/patch-1
Allow custom grant_types to reuse existing classes
2 parents 89bce8d + 6140a95 commit 5f42920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2ServerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function registerAuthorizer(Application $app)
140140
$grant->setRefreshTokenRotation($grantParams['rotate_refresh_tokens']);
141141
}
142142

143-
$issuer->addGrantType($grant);
143+
$issuer->addGrantType($grant, $grantIdentifier);
144144
}
145145

146146
$checker = $app->make(ResourceServer::class);

0 commit comments

Comments
 (0)