Skip to content

Commit b066546

Browse files
authored
Merge pull request #22 from Rushmead/sp/fix-host-setting-laravel-passport
Laravel Passport - Fix host setting
2 parents 18b4b0d + 8869c70 commit b066546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Services/SocialProviders/LaravelPassportProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function getSocialiteProvider()
3030
$this->provider->getSetting('client_id'),
3131
$this->provider->getSetting('client_secret'),
3232
$this->redirectUrl,
33-
['host' => $this->provider->host]
33+
['host' => $this->provider->getSetting('host')]
3434
);
3535
return Socialite::buildProvider(Provider::class, $config->get())
3636
->setConfig($config)->with(['prompt' => 'none']);

0 commit comments

Comments
 (0)