Strip http/ https from steam oauth allowed_host (#889)

* strip http/ https from steam oauth allowed_host

* fix param order
This commit is contained in:
Boy132 2025-01-07 22:47:23 +01:00 committed by GitHub
parent 7449b82f41
commit 6fcf4173d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ return [
'client_id' => null, 'client_id' => null,
'client_secret' => env('OAUTH_STEAM_CLIENT_SECRET'), 'client_secret' => env('OAUTH_STEAM_CLIENT_SECRET'),
'allowed_hosts' => [ 'allowed_hosts' => [
env('APP_URL'), str_replace(['http://', 'https://'], '', env('APP_URL')),
], ],
], ],
'provider' => \SocialiteProviders\Steam\Provider::class, 'provider' => \SocialiteProviders\Steam\Provider::class,