Cors Error from local

I cant seem to get past this Cors issue : I have the url added to the trusted origins list but its still giving an error. I am using passport-saml to try a SAML auth on an app : Has it anything to do with the fact tat i am devloping on local?

Access to XMLHttpRequest at 'https://dev-XXXXXX.okta.com/app/xxxxxxxxxxxxxx_demoapp_1/exktzjejQ9gv13FVJ4x5/sso/saml?SAMLRequest=nVPBctowEP0Vj%2B7YloGANUCGwmRKJ21ccHPohRH2OlFiS65WNm6%2FvsKGhEPCgZNmdt%2B%2Bt%2Ft2NbltitypQaNQckqo65Pb2QR5kZdsXplnuYY%2FFaBxLEwiaxNTUmnJFEeBTPICkJmEbebf71ng%2BqzUyqhE5cRZLadkmwVDCCDdDexDkyBMQ8iI83gStBUWiFjBSqLh0tiQH%2Fg9n%2FboTUxHjIZsQF06pr%2BJEx2pvwiZCvl0uY9dB0L2NY6jXvSwiYmztJMIyU0r%2FWxMiczzUqh7w%2BFoNA5d9Wq4m6jC42Xp7fIKMksCdZfdplAom9hSD5pX8%2B8FXn6GTzXt3z1%2BGzRDD1F5B3%2BIM0cEfRBZKIlVAXoDuhYJ%2FFrfd7JWlYaBS2%2FGbr%2FvDnzWp36%2FK%2B7MZ60l%2Bsz1y8PykyKZHfn3%2B%2F37OB%2F1O%2FHOhE4r%2F2GZV8tI5SL5e83K75QuuPkcbTfZRkTay1oog4KLfJ6mGhCtc3mu9gsN3MCUGF0B8U6tHQ8R0vYsrbMGmqvOcqGKkmuBhxuAhifm5Pk58SK3lq4hu2YDF2EJSw7UNhzZZ690erhqSOxgseYSS6XNcTUf9TPrcp%2FY8ZY9%2F7qz%2Fw%3D%3D' (redirected from 'https://192.168.33.40:3103/saml') from origin 'https://192.168.33.40:3103' 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.

Hi @00833827

/app/ endpoints are not CORS enabled. The solution here is to redirect the user inside the browser to this particular link in order for Okta to further send the SAML response to the service provider.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.