Skip to content

Integration with ORCID (email not available by default) #1295

Answered by frankie567
holtgrewe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @holtgrewe 👋

FastAPI Users assume an email address is available, as it's the unique identifier used for the user.

The easiest way IMO is to make your ORCID client return fake adresses when it's not available, like user-{user_id}@orcid.org. This way, you won't have to deeply change the behavior of the library. Users will then be able to change it if needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by holtgrewe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants