Ryan P Kilby
ca222d7f92
Add McCabe complexity checker
2019-04-19 12:01:43 -07:00
Maxim Kukhtenkov
a3057b7aa1
Flake8 fix - unused import
2018-01-20 20:25:58 -05:00
Maxim Kukhtenkov
c009bb9975
Change conditional import from allauth.socialaccount
2018-01-20 20:10:18 -05:00
Maxim Kukhtenkov
bcd6ab4401
Update configs and changelog for version 0.9.3 + additional fixes
2018-01-19 19:44:31 -05:00
Maxim Kukhtenkov
fed6b9840c
Refactor social connect views and serializers
...
# 347
2018-01-18 21:08:41 -05:00
Aleksi Häkli
8a4afe746c
Implement connect social accounts functionality
...
Add serializers and views for connecting accounts with minimal
specialization of the existing django-rest-auth interfaces.
Also add viewset which enables listing social account infmration
via the REST API for social authentication driven client applications.
Resolves #347 in GitHub.
2018-01-18 16:56:42 +02:00
mario
f89471f980
pep8 cleanups
2017-11-12 10:32:27 +01:00
Philippe Luickx
945008d326
Checking for pre-existing accounts from a different flow when using social connect
2017-10-05 12:06:05 +03:00
Maxim Kukhtenkov
aa677d51c0
PEP8 cleanup and small text fixes
2016-12-21 14:08:56 -08:00
Maxim Kukhtenkov
5bcf31f545
Remove redundant required=True
from serializer fields
2016-12-21 13:47:24 -08:00
Maxim Kukhtenkov
6812deeeb4
Rename variable for clarity
...
We have two variables named `token` which have different data types
2016-12-02 16:35:13 -08:00
Ankit Popli
139dd4a4e4
refactor: remove redundant check as suggested by @maxim-kht
2016-11-28 11:42:06 +05:30
Ankit Popli
4599adf92b
fix: social login using auth code flow
...
'access_token' in attrs always returns True, we need to check whether
the token is empty or not
2016-11-25 20:33:43 +05:30
Maxim Kukhtenkov
70d03e3e9b
Update docstring for UserDetailsView and cleanup
2016-10-31 20:17:31 -07:00
Maxim Kukhtenkov
37375461df
Add info to docs and comments
...
+ Add comments by @chubz regarding django-allauth hmac pattern from PR #233
+ Cleanup
2016-10-24 14:23:44 -07:00
mariodev
3189a5c7a0
Merge pull request #187 from marsam/master
...
Capture OAuthError in TwitterLoginSerializer
2016-04-14 19:08:18 +02:00
Christopher Grebs
50087549e8
Fix social-adatper tests for allauth>=0.25.0
...
See 742d114abf
for more details.
This unfortunately requires bumping up the version to 0.25.0
2016-03-14 13:20:24 +01:00
Mario Rodas
86a487fe21
Import allauth.socialaccount only when declared in INSTALLED_APPS
...
Don't silently ignore ImportError
2016-03-02 14:37:27 -05:00
Maciej Jaworski
1a0ab4488e
Merge pull request #165 from jasinai/AddTranslation
...
Adds ugettext_lazy to more texts
2016-02-23 10:55:42 +00:00
Maciej Jaworski
3bcabe6b17
Update serializers.py
...
pepfix
2016-02-23 10:35:41 +00:00
mariodev
7c8a34f700
Merge pull request #132 from asudoma/master
...
fix import complete_social_login
2016-02-08 08:12:52 +01:00
Nicola Hauke
152b0a6fb6
Adds ugettext_lazy to more texts
...
Also adds a first german translation.
2016-02-02 15:29:16 +01:00
mario
99c4dc9d05
Brought back pass verification + added test
2016-01-05 14:56:11 +01:00
anyone_j
cc963ca1a1
fix import complete_social_login
2015-11-26 14:38:25 +05:00
ron8mcr
52f04ba224
Update tests and fix register serializer
2015-11-24 22:04:57 +07:00
Roman Gorbil
10ae7acac9
Rewrite registration logic
2015-11-24 17:11:46 +07:00
mario
680f24e43d
Fix the optional deps for allauth.socialaccount
2015-10-04 12:41:07 +02:00
Nick Spacek
0ae97701c8
Adds check for optional deps in INSTALLED_APPS
...
Previously the serializers.py file relied solely on the presence of
allauth.socialaccount in the PYTHON_PATH to determine if its use was
required. This adds another check in the Django INSTALLED_APPS for the
allauth.socialaccount app, and then continues with the import if the app
has been added.
2015-10-01 09:51:25 -03:00
Philippe Luickx
4cf33ff9fa
SocialLoginSerializer allow_blank fix
2015-08-17 13:34:59 +03:00
Mateusz Sikora
388314f831
fix flake8
2015-08-14 13:49:47 +02:00
Philippe Luickx
64ab8be2f0
catching incorrect input
2015-08-13 10:56:25 +03:00
Philippe Luickx
5a6c8f549b
bugfix
2015-08-10 11:24:21 +03:00
Philippe Luickx
ad94008503
appending all views with View
2015-08-07 13:54:45 +03:00
Philippe Luickx
74f2ffec7f
now also accepting authorization codes from social login (e.g. facebook)
2015-08-07 13:26:57 +03:00
Philippe Luickx
8ea935ef40
conditional import
2015-08-07 11:25:40 +03:00
Nikolay Golub
a9d2a24011
Make names more consistent
2015-07-23 22:33:48 +03:00
Nikolay Golub
f43a6b8d58
move SocialAccount population to the separate method in the SocialLoginSerializer.
...
It makes easier to get the correct signup for custom user models, because application can subclass SocialLoginSeriaLizer and add required fields to the instance.
2015-07-23 22:22:39 +03:00
mjaworski
a60df71c07
Flake8 style fixes
2015-04-28 10:22:08 +02:00
mjaworski
80a7988a9b
Django 1.8 compatibility fixes
2015-04-17 09:53:46 +02:00
Jeppe Vesterbæk
c615cd94aa
DRF 3 bug: get HttpRequest from DRF request object. Similar to issue #43
2015-02-25 16:52:51 +01:00
Mateusz Sikora
01ffd4127b
support django-rest-framework v3.0
2015-01-09 12:05:14 +01:00
Mateusz Sikora
989f3fa7af
minor fixes
2014-10-09 11:41:52 +02:00
Mateusz Sikora
85688940df
create base view and serializer for social authentication
2014-10-02 16:54:55 +02:00
Mateusz Sikora
34d3627c7c
remove unused serializers.py form registration app
2014-10-02 11:31:33 +02:00
Mateusz Sikora
f14b3b03f7
django-registration replacement
...
- remove django-registration references
- integrate with django-allauth
- move all registration stuff to separated app
- update unit tests
2014-10-01 14:13:21 +02:00