Skip to main content

CORS Policy Error when trying to pass auth header inside the request

Answered

Comments

2 comments

  • Andrey Terentyev
    • Network Optix team

    Hello,

    Change either the name/address of the Server or the name/address which your application is hosting at.

    In other words, there should not be localhost and localhost.

    1
  • Roman Voronin

    Hello,

    Change either the name/address of the Server or the name/address which your application is hosting at.

    In other words, there should not be localhost and localhost.

    Hi! Thanks for the answer. I have tried to change the IP addresses of the apps and I still have the same error.
    Also, I have tried to separate the client and server apps to different machines on the same local network but I still have that error with CORS. Both servers have SSL certificates.
    Is it possible to configure CORS policy inside the nx witness?

    2

Please sign in to leave a comment.