mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-10 09:15:01 +02:00
commit
7c3198523c
@ -3,6 +3,7 @@
|
|||||||
namespace App\Providers\Socialite;
|
namespace App\Providers\Socialite;
|
||||||
|
|
||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
|
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
|
||||||
use SocialiteProviders\Manager\OAuth2\User;
|
use SocialiteProviders\Manager\OAuth2\User;
|
||||||
|
|
||||||
@ -15,6 +16,16 @@ class OpenId extends AbstractProvider
|
|||||||
*/
|
*/
|
||||||
protected $scopes = ['openid profile email'];
|
protected $scopes = ['openid profile email'];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function __construct(Request $request, $clientId, $clientSecret, $redirectUrl, $guzzle = [])
|
||||||
|
{
|
||||||
|
parent::__construct($request, $clientId, $clientSecret, $redirectUrl, [
|
||||||
|
'proxy' => config('2fauth.config.outgoingProxy')
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user