I currently have CSRF enabled on all my POST Form. This works fine on all browsers except on Mobile Safari. Mobile Safari ALWAYS return a 419 HTTP error and this is a real problem since these users cannot register on my website. I am using the Laravel framework.
What can I do to prevent these errors on mobile Safari?
I am using the CSRF in my ajax call like so:
headers: {'X-CSRF-TOKEN': this.$csrfToken.attr('content')},
with the token being set by laravel in the meta tags:
<meta name="csrf-token" content="{{ csrf_token() }}">