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

Implement django-allauth #1895

Open
1 task done
jh-RLI opened this issue Oct 23, 2024 · 3 comments · May be fixed by #1896
Open
1 task done

Implement django-allauth #1895

jh-RLI opened this issue Oct 23, 2024 · 3 comments · May be fixed by #1896
Assignees
Labels
enhancement login Issues related to the login app of the oeplatform NFDI Issues related to NFDI

Comments

@jh-RLI
Copy link
Contributor

jh-RLI commented Oct 23, 2024

Description of the issue

We want to implement #1363 for that we need a more sophisticated login approach that offers openid connect based user authentication. The package django-allauth offers this out of the box.

Ideas of solution

Install https://docs.allauth.org/en/latest/
Check if the new login system can be merged with the django allauth backend.

Workflow checklist

@jh-RLI
Copy link
Contributor Author

jh-RLI commented Oct 23, 2024

Maybe django axes need to be configured https://django-axes.readthedocs.io/en/latest/6_integration.html

jh-RLI added a commit that referenced this issue Oct 23, 2024
jh-RLI added a commit that referenced this issue Oct 23, 2024
@jh-RLI jh-RLI linked a pull request Oct 23, 2024 that will close this issue
5 tasks
@jh-RLI
Copy link
Contributor Author

jh-RLI commented Oct 23, 2024

We consider to first update django to a more recent version. This PR offers the relevant changes to migrate to django 5 but it requires more testing.

#1884

@jh-RLI jh-RLI added the NFDI Issues related to NFDI label Oct 23, 2024
@jh-RLI jh-RLI moved this to In Progress in UserManagement and LoginSystem Oct 23, 2024
@jh-RLI jh-RLI added the login Issues related to the login app of the oeplatform label Oct 23, 2024
jh-RLI added a commit that referenced this issue Oct 23, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 20, 2024
jh-RLI added a commit that referenced this issue Nov 21, 2024
@jh-RLI
Copy link
Contributor Author

jh-RLI commented Nov 21, 2024

In general, it works now. The missing parts are: I

  • overwrite all templates in the branch currently only login / logout in OEP style is already in it. It's just a bit of hard work :)
  • Extend the SocialAdapter to read extra data and populate the user correctly .
  • Review new settings, is something missing?
  • Integrate with OEP CreateUserForm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement login Issues related to the login app of the oeplatform NFDI Issues related to NFDI
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants