hubmapconsortium / ingest-api

MIT License
0 stars 0 forks source link

UMLS Auth Endpoint #541

Closed shirey closed 5 months ago

shirey commented 6 months ago

Create a new endpoint /umls-auth?umls-key=<key>,

Which takes, as an argument a UMLS License Key and authorizes it against https://utslogin.nlm.nih.gov/validateUser?validatorApiKey=<hubmap-umls-api-key>&apiKey=<key>. On false return from nih/validateUser, return a 403, on true return 200. If any problem occurs return a 500.