learningtapestry / metadataregistry

DEPRECATED - THIS CODE BASE IS NO LONGER MAINTAINED. Metadata Registry
Apache License 2.0
7 stars 4 forks source link

Server should be able to sign documents on behalf of user #63

Open science opened 7 years ago

science commented 7 years ago

Server should be able to crypto-sign published docs for an api user.

In order to sign docs on behalf of users, we need to be able to validate the user's identity. Propose that we use third party OAuth/OIDC authn Identity Providers (IP) such as Google, Microsoft, Facebook, Twitter, Amazon. Server relies on these identities to validate a user's identity claim. Whatever data is provided by the IP should be included in an "Original Publisher" field in the metadata registry's "custom metadata" area in the resource data - such as: name, email, organization, which IP, IP user ID - if any.

Once the IP has authenticated the user to the server: