Fix OAUTH redirect urls not respecting APP_URL - Fixes #299

This commit is contained in:
Bubka 2024-02-19 09:45:21 +01:00
parent 300d3c3dc8
commit 119eca6c7e

View File

@ -27,19 +27,19 @@
'userinfo_url' => env('OPENID_USERINFO_URL'),
'client_id' => env('OPENID_CLIENT_ID'),
'client_secret' => env('OPENID_CLIENT_SECRET'),
'redirect' => '/socialite/callback/openid',
'redirect' => env('APP_URL') . '/socialite/callback/openid',
],
'github' => [
'client_id' => env('GITHUB_CLIENT_ID'),
'client_secret' => env('GITHUB_CLIENT_SECRET'),
'redirect' => '/socialite/callback/github',
'redirect' => env('APP_URL') . '/socialite/callback/github',
],
// 'google' => [
// 'client_id' => env('GOOGLE_CLIENT_ID'),
// 'client_secret' => env('GOOGLE_CLIENT_SECRET'),
// 'redirect' => '/socialite/callback/google ',
// 'redirect' => env('APP_URL') . '/socialite/callback/google ',
// ],
'postmark' => [