app-generator / sample-django-all-auth-graphql

Django Dashboard - Open-Source Seed Project | AppSeed
https://appseed.us/admin-dashboards/django
MIT License
6 stars 4 forks source link

SocialApp integration does not work #2

Open aculich opened 2 years ago

aculich commented 2 years ago

Out of the box, just running docker-compose up after cloning the repo gives this error which I fixed by adding the missing django-allauth to requirements.txt:

 => ERROR [7/8] RUN python manage.py makemigrations                                                                    
...[snip]..
#12 0.748 ModuleNotFoundError: No module named 'allauth'
------
executor failed running [/bin/sh -c python manage.py makemigrations]: exit code: 1
ERROR: Service 'appseed-app' failed to build : Build failed

However, once it properly builds and runs I get this error when trying to use the social login feature to login and/or create a new account:

Exception Type: DoesNotExist
Exception Value: SocialApp matching query does not exist.
Exception Location: /usr/local/lib/python3.6/site-packages/django/db/models/query.py in get, line 399
app-generator commented 2 years ago

Hello @aculich,

Thank you for using our products. We will investigate this feature and get back with a fix.

Please note that this project is experimental and is not fully tested as requested by a production environment.

In case you have the time, feel free to access the full index with open-source samples provided by our team (MIT License):

https://github.com/topics/appseed-sample

Best Regards.