-
Notifications
You must be signed in to change notification settings - Fork 0
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
Journal code is not validated #6
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I issue a
POST
to/api/login
with my login data and the journal codeepijinfo
, as follows:the authentication succeeds in that I get a token. However, subsequent requests for data do not return any information; for instance,
/api/papers
returns an empty list of papers.When I log in using the journal code
epijinfo.episciences.org
, I do get a result from/api/papers
when I use the resulting token.It would be nice if the login endpoint would validate the journal code, and return an error if the journal does not exist. Perhaps the correct format for the journal code should also be documented.
The text was updated successfully, but these errors were encountered: