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

Social Abstraction #25

Closed
Miserlou opened this issue Nov 28, 2011 · 3 comments
Closed

Social Abstraction #25

Miserlou opened this issue Nov 28, 2011 · 3 comments

Comments

@Miserlou
Copy link

I have an existing deployment of Django-userena, but I would like to use the Social-Login features of AllAuth, but not use the accounts management system it provides.

Is this currently possible, or will it take additional work to abstract the social stuff from the accounts stuff?

@pennersr
Copy link
Owner

WHAT IS USERENA?
Userena is an django application that supplies your project with full account management. It handles the signup,
activation, signin etc

All of this is handled by allauth as well, so there is quite an overlap in functionality.

Having said that, the allauth account handling related to ordinary (non-social) accounts is centralized in allauth.account. It possible to introduce an abstraction here, though I am not sure that is the way to go. I prefer to keep allauth tightly integrated providing just (social) signin/signup...

I am not vary familiar with userena, but it looks to be as if it aims for something bigger than just signup/signin handling. For example:

Userena comes with an optional, chat-like, messaging system.
Permission for viewing other peoples profiles are managed by django-guardian.

So, perhaps it is an idea to turn things around and modify userena to make use of allauth?

In any case, this is beyond allauth scope for now.

@Miserlou
Copy link
Author

That's exactly my point - I would like to see the social component of allauth abstracted from the accounts stuff so I can integrate it with userena.

Where would I begin?

@pennersr
Copy link
Owner

The social components have dependencies on allauth via code (e.g. allauth.account.utils), urls and templates. You would have to catch all of these dependencies and reroute them through their counterpart in userena if that exists. It will require some serious hacking. You could start by removing allauth.account entirely, revealing these dependencies and fixing them one by one.

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

2 participants