Global Security Forum

Security Global Forum

Our mission is to provide clients with an online user community of industry peers and IBM experts, to exchange tips and tricks, best practices, and product knowledge. We hope the information you find here helps you maximize the value of your IBM Security solutions.

 View Only

Access to fetch at 'https://example.com/mga/sps/oauth/oauth20/token' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

  • 1.  Access to fetch at 'https://example.com/mga/sps/oauth/oauth20/token' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

    Posted Mon September 25, 2023 10:25 AM

    Hi Team,

    I am using IBM ISAM 9.7 Version and while calling API for token getting below error: 

    Access to fetch at 'https://example.com/mga/sps/oauth/oauth20/token' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

    I have done changes in reverse proxy configuration file as

    [rsp_headers]

    Access-Control-Allow-Origin = *

    But above error is coming, please help with solution.



    ------------------------------
    Tribhuwan Phulera
    ------------------------------