Background Story
I've been developing a Laravel application for about a month now. During the development I've only used google chrome for testing the application. The project makes use of Laravels mustverify to verify the users email. This works flawless in google chrome, however, when I switched to my MacBook, using safari, things got ugly.
The Problem
When I get the mail from the application to my mail-client, I usually just click the link "Verify Email Address" shown below. However, this just does not work in Safari. Normally I get sent to the user-panel as a verified user (in google chrome), but in Safari, I get redirected to the login-page (not verified or "logged in"), as of if the session does not exist in the safari browser.
So what have I tried?
I also read this post that says that Safari requires a "www." in front of the url to make it understand. But how would I achieve this in a localhost?
So now I'm reaching out to you for tips, thoughts or ideas. I will list some information below that might be relevant:
The error was that Safari did not trust the links that mailtrap provided me with. When switching to a normal mail client, everything works fine.
Edit your session.same_site
config to use none
or null
don't forget to use lax
or strict
in production
probably a Safari Bug... but this is how I fixed it...
I've provided an answer here also...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.