Hi Javier.
Thanks for the response.
# corsEnabled
For some reason I do not have the `corsEnabled` option in my settings (see linked image).
Additionally, I checked the LDAP configuration under `gluu -> appliances -> <ID> -> configuration -> oxauth -> oxAuthConfDynamic` and the CORS related section looks like this
```
"corsConfigurationFilters": [
{
"filterName": "CorsFilter",
"corsAllowedOrigins": "*",
"corsAllowedMethods": "GET,POST,HEAD,OPTIONS",
"corsAllowedHeaders": "Origin,Authorization,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Access-Control-Allow-Origin",
"corsExposedHeaders": "Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Access-Control-Allow-Origin",
"corsSupportCredentials": true,
"corsLoggingEnabled": false,
"corsPreflightMaxAge": 1800,
"corsRequestDecorate": true
}
],
```
Could this be a problem?
# test-cors.org
I ran the test on test-cors.org against our Gluu installation and got the following response
```
Sending GET request to https://example.com/.well-known/openid-configuration
Fired XHR event: loadstart
Fired XHR event: readystatechange
Fired XHR event: readystatechange
Fired XHR event: progress
Fired XHR event: readystatechange
Fired XHR event: load
XHR status: 200
XHR status text: OK
XHR exposed response headers:
content-type: application/json
access-control-allow-origin: https://www.test-cors.org
Fired XHR event: loadend
```
# CORS headers
On a different note, just for testing, I tried using the Gluu installation you used for test-cors.org, `https://ce-dev3.gluu.org/.well-known/openid-configuration`, for a request, and I see the same error in the browser console (Chrome) as I originally posted:
```
Access to XMLHttpRequest at 'https://ce-dev3.gluu.org/.well-known/openid-configuration' from origin 'http://example.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
```
It seems to me like Gluu is not setting `Access-Control-Allow-Origin: '*'` for the `/.well-known/openid-configuration` endpoint (possibly others as well?).