We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12b6a53 + 217eb5d commit a2c4910Copy full SHA for a2c4910
src/OAuth2ServerServiceProvider.php
@@ -94,7 +94,7 @@ public function registerAuthorizer()
94
95
// add the supported grant types to the authorization server
96
foreach ($config['grant_types'] as $grantIdentifier => $grantParams) {
97
- $grant = new $grantParams['class'];
+ $grant = $app->make($grantParams['class']);
98
$grant->setAccessTokenTTL($grantParams['access_token_ttl']);
99
100
if (array_key_exists('callback', $grantParams)) {
0 commit comments