-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.17.1: cannot login from client? [CORS header ‘Access-Control-Allow-Origin’ missing?] #549
Comments
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. |
Hi @byte-for-byte, please allow me to summarize your issue, just to make sure I understand correctly:
If the above is true, then your request The Apparently, the FDP is configured to disallow CORS for this endpoint, even though, to the untrained eye (mine), it looks like CORS should be allowed for all origins:
I've been able to reproduce this behavior on my system. Currently looking into the exact cause. Note that the issue does not arise if you visit the client using the default domain name |
Not sure why the original |
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: