I suppose you are using Inertia/React and <Link> component.
There is actually an easier way to bypass Cors. Place <a> tag instead of <Link> tag in your template.
<a href="/auth/social/{provider}">