CDLUC3 / dmptool

DMPTool version of the DMPRoadmap codebase
https://dmptool.org
MIT License
58 stars 13 forks source link

Integrate DMPTOOL with RSPACE. #496

Closed fcsousaunifesp closed 6 months ago

fcsousaunifesp commented 1 year ago

Good morning team. Could you tell us which path you took to integrate DMPTOOL with RSPACE. Can you tell us about the technological requirements, and what are the documentary requirements, for this integration? This is my version DMPRoadmap code v4.0.9, and this is my url, https://pgd.ibict.br

Best regards

Flavio Castro de Sousa

briri commented 1 year ago

Hello Flavio,

You will want to contact RSpace (if you have not already) and have them add your system to their list of approved integrations (they need a logo, the URL and API, etc.). For example, this is what our's looks like:

Screenshot 2023-07-28 at 9 08 41 AM

RSpace uses the API v2 endpoints to tie into the system. You will need to have them create a user account and then go to the Profile -> Developer Tools page where they can enter their information to create their API credentials. They will need to provide a Redirect URI for the Oauth2 workflow to work! They've connected to ours, so they are familiar with the process.

Screenshot 2023-07-28 at 8 59 49 AM

Once they have created their credentials they will be given the ability to read DMPs. If you want them to be able to send you dataset DOIs so that they get connected back onto the DMP record, you will need to manually give them permission to do that in the database. You can do that by updating the UPDATE oauth_applications SET scope = 'public read_dmps edit_dmps' WHERE id = [their id]; to their record.

I recommend having them do this in a stage/test server first before giving them access in production so that you can verify everything is working as expected.

For reference: