-
Notifications
You must be signed in to change notification settings - Fork 45
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 submission system integration #160
Comments
Hey @acabunoc Could you please elaborate on this? Like currently our api already required authentication like for issue and adding a paper we need auth for that. What sort of endpoints we want to create for adding a paper? |
Thanks @jinankjain for the questions, I hope this clarifies things! We need to add authentication so publishers can securely consume parts of the api (like adding a new paper via POST request instead of a form). The same way we use the ORCID api by providing a key, publishers would do something similar with our app to issues badges on their papers. |
It is sort of we have implement our Oauth2.0 according to RFC |
well, I assume a library has implemented this and we can use it, but yes I think so |
Ok, I will look into libraries. |
@acabunoc found one library https://github.com/oauthjs/node-oauth2-server |
Hi @acabunoc , Actually, the authorization is processed using multiple predefined URLs, and hence endpoints
Do we need to create all these endpoints? Cheers, |
Bit of research on this issue: We've looked at Stormpath to be able to get this up and running quickly. It's free for up to 10K calls/month, which would be enough for now. They have an express library, but after a quick experiment, our React front-end is getting in the way of the routes that Stormpath needs to add. They also have a React SDK that uses React Router, but our router is too out of date, so this will need a bit of work. May be a good idea to take care of #201 before attempting this again. |
Stormpath seems like a good solution if we can get it working! |
Update our API to make it easy for journals/publishers to integrate their submission systems with Paper Badger. Currently, publishers fill out a form listing all authors.
The text was updated successfully, but these errors were encountered: