Giter VIP home page Giter VIP logo

orcid's Introduction

Scrutinizer Code Quality

Based on user_orcid from Lars Naesbye Christensen, DeIC for ownCloud - https://github.com/deic-dk/user_orcid

Authenticate with ORCID

example screenshot

This app will use the API from https://orcid.org/ to access and archive users' ORCID information.

Dependencies

  • nextcloud 10 (tested on Nextcloud up to NC13)

Installation instructions

Copy the app files to the nextcloud/apps/ directory. In the Admin Interface, fill the data with the API credential (Client ID + Client secret) from https://orcid.org/developer-tools. The redirect URL displayed in the Admin Interface (Nextcloud) will be used to setup your API on the ORCID Interface.

Usage

In the Personal Settings Interface, your users will identify themself using Orcid OAuth2 and grant access to the nextcloud. The OrcID (0000-00xx-xxxx-xxxx) and an access_token are saved into the database:

  • When the user clicks the 'Confirm ORCID' button, they are taken to orcid.org (in a new window) for authentication.
  • After successful login and authentication, orcid.org service sends data back to nextcloud via access token.
  • The token is used to obtain ORCID and associated name from the service.
  • The user's ORCID is then stored in the nextcloud database for access by other apps, and displayed next to the button.

Api

Requesting ORCID from another app:

$orcid = \OCA\Orcid\Service\ApiService::getUserOrcid($username);

orcid's People

Contributors

nextcloud-bot avatar artificialowl avatar oparoz avatar morrisjobke avatar lukasreschke avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.