See my answer on your previous post. Regarding using as little resources as
possible - if you don't load / use the templates / views, they won't take
any resources. As long as you don't map the urls to views, you won't even
expose them - therefore nobody will be able to get to them.

Regards,

Andréas

2018-01-02 22:12 GMT+01:00 Fun. Bytes <[email protected]>:

> I am trying to have social sign in on my site using allauth. However, I do
> not want all the other features that come along with it. For example, I
> don't want the accounts feature (login, sign up, etc.) I only want:
> allauth.socialaccount
>
> I tried installing only this app and I did get all the models that go with
> it Social accounts, Social application tokens, Social applications and
> sites Here's what I installed:
>
>
> INSTALLED_APPS = [
>  ....
>  
> ....'django.contrib.sites','allauth','allauth.socialaccount','allauth.socialaccount.providers.facebook','allauth.socialaccount.providers.google','allauth.socialaccount.providers.twitter',]
>
>
> SOCIALACCOUNT_PROVIDERS = {
>     'facebook': {
>         'METHOD': 'oauth2',
>         'SCOPE': ['email'],
>         'AUTH_PARAMS': {'auth_type': 'reauthenticate'},
>         'LOCALE_FUNC': lambda request: 'en_US',
>         'VERSION': 'v2.4'
>     },
>
>     'google': {
>         'SCOPE': ['email'],
>         'AUTH_PARAMS': {'access_type': 'online'}
>     },
>
>     'twitter':{}}
>
> SITE_ID = 3
>
>
>
> I have my own User model (inheriting from django.contrib.auth User model. I 
> also have my own sign up page. All I want to do right now is try to get a 
> link in the sign up page that allows the user to sign up with his social 
> accounts (Facebook, Google, Twitter). How do I add these links to my custom 
> sign up page? Please remember I only installed socialaccount and not 
> accounts. I do not want allauth's sign up, login, change email, etc. pages. I 
> am trying to use as little resources as possible.
>
> Is there a way to install only socialaccounts and have the user sign up using 
> their social media account using a link on my sign up page?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/01d26180-1783-4f80-90eb-59e5efc0d1d3%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/01d26180-1783-4f80-90eb-59e5efc0d1d3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCfS9Q6sSU0CQ2Z%3D4wVEX5DvN_zcK9JDMARiA4KsT1hCbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to