Support the ongoing development of Laravel.io →
Security Requests Forms
Last updated 1 year ago.
0

Perhaps I should be using CORS (https://github.com/barryvdh/laravel-cors)?

Last updated 1 year ago.
0

I guess you could make an internal request to the subdomain to retrieve a CSRF token and embed that into the form, but that would be pretty hacky. CORS would probably be the clean approach.

Last updated 1 year ago.
0

I think CORS is the way. Thanks.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.