Hi,
I am trying to use the API playground.
I added the following CORS config to my app:
<component name="org.nuxeo.cors">
<extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService" point="corsConfig">
<corsConfig name="all"
allowGenericHttpRequests="true"
allowOrigin="*"
allowSubdomains="true"
supportsCredentials="true">
<pattern>/nuxeo/*</pattern>
</corsConfig>
</extension>
</component>
Trying to connect, I get this:
Remote Address:127.0.0.1:8080
Request URL:http://localhost:8080/nuxeo/site/automation/login
Request Method:OPTIONS
Status Code:401 Unauthorized
Then a second is being made by the playground, and I get this:
Remote Address:127.0.0.1:8080
Request URL:http://localhost:8080/nuxeo/authentication/token?applicationName=Nuxeo%20API%20Playground&deviceId=device-176&deviceDescription=device-176&permission=rw
Request Method:OPTIONS
Status Code:302 Found
The API Playground doesn't connect to my local server.
Any idea?
Thanks
Nicolas