ontoportal-lirmm / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
0 stars 6 forks source link

Feature: Add multi provider authentification #95

Closed syphax-bouazzouni closed 1 year ago

syphax-bouazzouni commented 1 year ago

Context

See https://github.com/ontoportal/ontoportal-project/issues/26. and https://github.com/lifewatch-eric/ontologies_linked_data/pull/5

This PR adds the possibility for the API to validate access token coming from github, orcid, google and keycloak. If the access token is valid. A user is created if not existent with the data returned by the external provider or update the existent user information (to set githubId or orcidId user attributes).

Changes