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

Use OAuth for logging in with ORCID #241

Open
bruvellu opened this issue Nov 1, 2023 · 0 comments
Open

Use OAuth for logging in with ORCID #241

bruvellu opened this issue Nov 1, 2023 · 0 comments
Labels
feature Issues with ideas for new features

Comments

@bruvellu
Copy link
Owner

bruvellu commented Nov 1, 2023

Currently, it's required to have an ORCID to create an account. The user needs to provide one during registration. However, there's no check to see if this ID is valid, or even if it matches the identity of the person creating the account. Typos can also occur and remain unnoticed.

The solution is to use the ORCID API to integrate its OAuth authentication. This way, the user will be able to register a Cifonauta account by logging in with its ORCID account.

ORCID provides an orcid-auth-widget and a python-orcid interfaces. There are also plenty of documentation and tutorials for ORCID's API.

Alternatively, one can integrate the more generic OpenID from ORCID using one of the many oauth social packages for Django, like python-social-auth. There's also a orcid python package and even a django-orcid package.

@bruvellu bruvellu added the feature Issues with ideas for new features label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues with ideas for new features
Projects
None yet
Development

No branches or pull requests

1 participant