Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-LAB-HELP
-
Labels:None
-
Sender Email:
Description
Hello,
I am trying to connect the ObjectStorage Fiware enabler to my website on
the frontend side. I am not using NodeJS, so i used Browserify to transform
this promise-based version to JavaScript:
https://github.com/renarsvilnis/fiware-object-storage-ge
I have configured it with auth, container, user and password, but i get the
following error. I'm sure i'm missing something, could you please help?
XMLHttpRequest cannot load http://cloud.lab.fiware.org:4730/v2.0/tokens.
Response to preflight request doesn't pass access control check: No '
Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:8080 <http://localhost:8080/>' is therefore not
allowed access. The response had HTTP status code 404.
Thank you a lot for your time.
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-help
[Created via e-mail received from: =?UTF-8?Q?Gabriel_Cer=C3=B3n?= <gab.ceron@gmail.com>]
Hi, it seems you are trying to create the token from a web browser and CORS in Keystone is denying the request. You have to do it from server side.
BR