mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-07 17:04:34 +01:00
Fix OAUTH redirect urls not respecting APP_URL - Fixes #299
This commit is contained in:
parent
300d3c3dc8
commit
119eca6c7e
@ -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' => [
|
||||
|
Loading…
Reference in New Issue
Block a user