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

API access by donor passkey #107

Open
Eegras opened this issue Feb 21, 2023 · 0 comments
Open

API access by donor passkey #107

Eegras opened this issue Feb 21, 2023 · 0 comments

Comments

@Eegras
Copy link

Eegras commented Feb 21, 2023

A community I represent has an incentive in it's community that allows contributors to our Folding Team (225605) to get a special tag that identifies them as part of the Folding team. The way we verify the user is part of the team was to ask the user to OAuth their Reddit account and provide their F@H Passkey to a connection site that we have built. This would link the two accounts and give the tag.

There does not appear to be a function of the new API (https://api.foldingathome.org/) to be able to query user data based on their passkey. This function is desired on our end because passkeys are private and only the user would know it instead of username which is public and anyone can claim. There's a level of validation to the passkey that isn't there with username.

We used https://folding.stanford.edu/stats/api/donors?passkey= prior to that endpoint going away.

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

No branches or pull requests

1 participant