From 6fcf4173d3b8ec6941f2f2903a0c55fda6c5f9db Mon Sep 17 00:00:00 2001 From: Boy132 Date: Tue, 7 Jan 2025 22:47:23 +0100 Subject: [PATCH] Strip http/ https from steam oauth `allowed_host` (#889) * strip http/ https from steam oauth allowed_host * fix param order --- config/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/auth.php b/config/auth.php index 604926a60..aae1c099a 100644 --- a/config/auth.php +++ b/config/auth.php @@ -130,7 +130,7 @@ return [ 'client_id' => null, 'client_secret' => env('OAUTH_STEAM_CLIENT_SECRET'), 'allowed_hosts' => [ - env('APP_URL'), + str_replace(['http://', 'https://'], '', env('APP_URL')), ], ], 'provider' => \SocialiteProviders\Steam\Provider::class,