From a4d92707f885e9df80181e2f7e622393d572b0f9 Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Mon, 19 Apr 2021 18:02:06 +0200 Subject: [PATCH] #56 - fix(?) safari cookie/session seems like Safari does not accept the new session cookie with a redirect response - possibly because the URL before is a foreign domain and also redirects, some kind of user protection or whatever --- app/Http/Controllers/Auth/GithubController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/GithubController.php b/app/Http/Controllers/Auth/GithubController.php index aa48af1..740f49f 100644 --- a/app/Http/Controllers/Auth/GithubController.php +++ b/app/Http/Controllers/Auth/GithubController.php @@ -55,7 +55,7 @@ public function __invoke(): Response return redirect()->intended( route('home') - ); + )->setStatusCode(200); } public function redirect(): RedirectResponse