Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ORCID member API for authentication #2728

Merged
merged 9 commits into from
Jul 10, 2024
Merged

Support ORCID member API for authentication #2728

merged 9 commits into from
Jul 10, 2024

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Dec 6, 2022

This now only requires a user to make the ORCID fields available to trusted institutions. Error messages are improved to not encourage users to make these fields public unnecessarily.

Fixes #2660

@nellh nellh marked this pull request as ready for review December 6, 2022 21:06
@nellh
Copy link
Contributor Author

nellh commented Dec 6, 2022

This is deployed on staging at the moment, so it can be tested with a sandbox.orcid.org account (you must verify the mailinator address to test).

@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Attention: Patch coverage is 41.93548% with 18 lines in your changes missing coverage. Please review.

Project coverage is 42.62%. Comparing base (36d6aa8) to head (33f9ebe).

Files Patch % Lines
packages/openneuro-server/src/libs/orcid.ts 0.00% 6 Missing ⚠️
...ervices/datalad/datalad_service/handlers/upload.py 0.00% 4 Missing ⚠️
packages/openneuro-app/src/scripts/config.ts 0.00% 2 Missing ⚠️
packages/openneuro-server/src/graphql/schema.ts 0.00% 2 Missing ⚠️
...es/openneuro-app/src/scripts/errors/errorRoute.tsx 0.00% 1 Missing ⚠️
...openneuro-app/src/scripts/errors/orcid/general.jsx 0.00% 1 Missing ⚠️
packages/openneuro-server/src/handlers/config.ts 0.00% 1 Missing ⚠️
...enneuro-server/src/libs/authentication/passport.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2728      +/-   ##
==========================================
+ Coverage   42.36%   42.62%   +0.26%     
==========================================
  Files         595      592       -3     
  Lines       37919    37857      -62     
  Branches     1096     1098       +2     
==========================================
+ Hits        16063    16137      +74     
+ Misses      21644    21513     -131     
+ Partials      212      207       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies
Copy link
Contributor

effigies commented Dec 7, 2022

Successfully logged in:
image

@nellh
Copy link
Contributor Author

nellh commented Dec 7, 2022

Thanks for testing @effigies, I'm going to hold off on merging this until I have the production deployment time scheduled with ORCID.

@effigies
Copy link
Contributor

effigies commented Dec 7, 2022

Some screenshots for making a doc we can point people to:

Screenshot from 2022-12-07 12-41-38
Screenshot from 2022-12-07 12-42-06
Screenshot from 2022-12-07 12-42-55
image

@nellh nellh merged commit df9d423 into master Jul 10, 2024
9 of 11 checks passed
@nellh nellh deleted the orcid-member-auth branch July 10, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request email via scope for ORCID authentication
2 participants