Problem
Users encounter a 403 FORBIDDEN error when trying to use LDAP login on JetBrains IDE Services behind an Apache2 reverse proxy. The error is identified as a CORS (Cross-Origin Resource Sharing) rejection with the message:
Reject: 'https://jides-test.example.ie' origin is not allowed
Cause
The IDE Services server does not trust the domain https://jides-test.example.ie because it has not been added to the allowed origins in the server's CORS configuration.
Resolution
To resolve the issue, the following steps were carried out:
- Update the configuration
application.yamlfile to include the domainhttps://jides-test.example.iein the allowed origins list.
Here is the recommended configuration:
tbe:
deployment:
allowed-origins:
- https://jides-test.example.ie
- Refer to the JetBrains documentation on setting up the server for detailed instructions: Set up Server Guide.
After applying this configuration, the user confirmed that the issue was resolved, and login requests proceeded successfully.
Comments
0 comments
Please sign in to leave a comment.