79248234

Date: 2024-12-03 15:41:38
Score: 4.5
Natty:
Report link

this one works great

return response()->json(['message' => 'Logged in successfully']) ->cookie('access_token', $token, $expiration, '/', null, true, true, false);

whats the most secure way to pass tokens?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rakib ahsan