kbase / dts

A data transfer service
https://kbase.github.io/dts/
MIT License
0 stars 0 forks source link

Implements KBase user federation (ORCID -> local user mapping) #67

Closed jeff-cohere closed 4 months ago

jeff-cohere commented 4 months ago

Since we rely on the KBase auth server for DTS authorization, we can take advantage of it for mapping between ORCID IDs and local KBase usernames. This PR adds this capability in a concurrency-safe way, which makes it unnecessary for us to rely on secondary source for local user information.

The DTS maintains a table of ORCID IDs and corresponding local usernames, populated by its KBase auth server proxy. Users with multiple ORCIDs have all of their ORCIDS mapped to their username.

Commit 241b9a0 comments out a Globus endpoint test which is currently malfunctioning because LBNL's Google Drive Globus connector seems to be malfunctioning. At some point it would be nice for us to set up enough reliable infrastructure for testing Globus transfers with unit tests.

github-actions[bot] commented 4 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://kbase.github.io/dts/pr-preview/pr-67/ on branch gh-pages at 2024-04-26 18:14 UTC