return redirect()->to($this->getConfirmationResultEndpoint($service), 302, [
'message' => 'confirm_verification_success'
]);
public function showLoginForm(Request $request)
{
dd($request);
$countries = $this->countryService->getAll();
if (Auth::check()) {
return redirect()->to(route('main'));
}
return view('login', compact('countries'));
}
return \response(
\json_encode(['message' => 'confirm_verification_success']),
307,
['Location' => $this->getConfirmationResultEndpoint($service)],
);
showLoginForm
.