Skip to main content

Troubleshooting Visual Studio Code Extension Issues

This page provides tips to address and work around issues that you may encounter.

SSO Login

If you attempt to log on and receive the unauthorized_ client Invalid redirect_uri error, check whether the correct quick fix (QF) is applied.

6448644319.png

The required QF depends on the SAST version in use:

  • For SAST 9.4: 9.4.0.QF_VSCodeSAML.zip

  • For SAST 9.3: 9.3.0.QF_VSCodeSAML.zip

  • For SAST 9.2: 9.2.0.QF_VSCodeSAML.zip

CxOrigin Issue

The VS Code plugin is sending the CxOrigin value of “Visual-Studio-Code” to the Checkmarx server.

The CxOrigin value is mandatory for Checkmarx server instances with a “Security gate license”. Submitting a different value triggers the “Forbidden” error.

Notice

  • The Security gate license is not supported for Checkmarx servers prior to 9.0 version.

  • The “Visual-Studio-Code” CxOrigin value does not work with Checkmarx version 9.0 with the Security Gate license. This particular configuration requires a special hotfix.