Configuring Cloudflare Access for IDE Integrations
OX supports Cloudflare Access authentication for IDE scanning requests. If your organization routes requests to OX through Cloudflare Access, configure a Cloudflare Access client ID and client secret so requests can pass through your organization's access controls.
The configuration is supported in VS Code, JetBrains IDEs, and Visual Studio.
How Cloudflare Access authentication works
When credentials are configured, OX includes the following headers in requests to the OX backend:
CF-Access-Client-Id
The configured Cloudflare Access client ID.
CF-Access-Client-Secret
The configured Cloudflare Access client secret.
Cloudflare Access validates these headers before allowing the request to reach OX.
Prerequisites
Before configuring Cloudflare Access, make sure you have:
An installed OX IDE extension.
A Cloudflare Access service token with a client ID and client secret, provided by your organization's administrator.
Access to the OX environment through your organization's Cloudflare Access configuration.
Configuring Cloudflare Access in VS Code
To configure Cloudflare Access credentials:
Open the Command Palette:
Windows/Linux:
Ctrl+Shift+PmacOS:
Cmd+Shift+P
Select OX: Set Cloudflare Access Credentials.

Enter your client ID in Cloudflare Access Client ID (step 1 of 2) and press Enter.

Enter your client secret in Cloudflare Access Client Secret (step 2 of 2) and press Enter.

Verify that OX displays a credentials-saved confirmation and connects successfully.

Configuring Cloudflare Access in JetBrains IDEs
JetBrains IDEs support the same Cloudflare Access credentials. The exact UI path and controls should be confirmed against the extension before publishing a detailed procedure.
Configuring Cloudflare Access in Visual Studio
Visual Studio supports the same Cloudflare Access credentials. The exact UI path and controls should be confirmed against the extension before publishing a detailed procedure.
Updating or removing credentials
To update credentials in VS Code, run OX: Set Cloudflare Access Credentials again and enter the replacement client ID and client secret.
To remove the credentials in VS Code:
Open the Command Palette.
Select OX: Set Cloudflare Access Credentials.
Clear the Cloudflare Access Client ID field and press Enter.

OX removes the saved Cloudflare Access configuration. Subsequent requests no longer include the configured Cloudflare Access authentication headers.
Troubleshooting
Requests are rejected by Cloudflare Access.
The client ID or client secret is missing or incorrect.
Verify the credentials with your administrator and configure them again.
IDE scans cannot connect to OX.
Cloudflare Access authentication is required but not configured.
Configure the credentials in your IDE and retry the scan.
Requests fail after credentials are updated.
The saved credentials are no longer valid.
Replace the existing credentials with the current service token values.
Last updated