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

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

Last updated 1 month 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 month ago.
0

I think CORS is the way. Thanks.

Last updated 1 month ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.