You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/FAIRDataTeam/FAIRDataPoint-client.git
npm install
# create the public/config.js as shown in the docs
npm run serve
which shows:
DONE Compiled successfully in 14751ms 11:46:07 AM
App running at:
- Local: http://my_hostname:8081/
- Network: http://my_hostname:8081/
When I browse (FF, Chrome) to http://my_hostname:8081/, I get the landing page; selecting the login link and entering a default user credentials as mentioned in the documentations, I get "Login failed".
The users are in the postgresql DB and I can also retrieve a token through the API for the users at http://localhost:8080/tokens .
Looking at the browser's console log:
XHR OPTIONS
http://localhost:8080/tokens
CORS Missing Allow Origin
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/tokens. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 403.
Is this intended?
Please let me know if I am missing something?
TIA
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
byte-for-byte
changed the title
v1.17.1: cannot login from client?
v1.17.1: cannot login from client? [CORS header ‘Access-Control-Allow-Origin’ missing?]
May 29, 2024
Hm... No reaction for 3 months. Is this project discontinued? Could an author please give a quick comment on this question? I am trying to figure out if I should be patient longer or abandon this (in principal) great tool. Thanks.
What components are related to the issue?
API
Which FDP are you using?
My local instance
Version
What happened?
I installed FAIRDataPoint
and FAIRDataPoint-client
which shows:
When I browse (FF, Chrome) to http://my_hostname:8081/, I get the landing page; selecting the login link and entering a default user credentials as mentioned in the documentations, I get "Login failed".
The users are in the postgresql DB and I can also retrieve a token through the API for the users at http://localhost:8080/tokens .
Looking at the browser's console log:
Is this intended?
Please let me know if I am missing something?
TIA
Relevant log output
No response
The text was updated successfully, but these errors were encountered: