Skip to content

Conversation

@michaelcanova
Copy link
Contributor

Overview

This PR adds functionality to grab verified emails from ORCID during the callback phase, and filter out ones not ending in edu, gov, etc. This is meant to help the moderation team filter out bad actors and help verify good science.

  1. During the callback phase, we hit the /email endpoint on ORCID and fetch their information.
  2. We filter through those emails for ones that are verified, and then ones that end in proper domains, and save that through all_auth.
  3. We then pass that data to the front end in Moderation panel calls and show the data to the Moderation team.

Screenshot

(This screenshot shows a .com email, but it was for testing purposes, and the final product will filter out .com emails)

Screenshot 2025-12-17 181009

@michaelcanova michaelcanova requested a review from a team as a code owner December 19, 2025 01:35
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copy link
Member

@gzurowski gzurowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link

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.

3 participants