Redirect from make webhook not working

Has anyone encountered this issue before? Do you know how I can resolve it? I am trying to redirect a user to a webpage from make and I am seeing this error in the console . As a result I am unable to redirect a user to the stripe connect url.

Access to XMLHttpRequest at ' ' (redirected from ' ') from origin ' ' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

This is my Make setup and I am using a 302 redirect

and the custom code I am using in softr is

    window.addEventListener('submit-form-success-stripe', (e) => {
        const response = e.detail.response || {};
        const data =;
        if (data && data.redirect) {
            window.location.href = data.redirect;

I think stripe is restricting this. The idea would be to redirect to softr page and there custom code redirects to Softr