79475866

Date: 2025-02-28 14:40:49
Score: 1
Natty:
Report link

For those who cannot use session ensure you use a stateless() state and then do something like this

    Socialite::driver('google')->with([
        'state' => http_build_query([
            'utm_source' => $request->query('utm_source') ?? 'none',
            'utm_medium' => $request->query('utm_medium') ?? 'none',
        ])
    ])->stateless()->redirect();

also see https://github.com/laravel/socialite/issues/373#issuecomment-703706139

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Stanley Aloh