Re: Preferred way of adding social authorization to a Django / REST app?
I like JWT authentication coupled with AngularJS: https://github.com/GetBlimp/django-rest-framework-jwt On 06/18/2015 08:00 PM, Daniel Grace wrote: What is the preferred way of adding social authorization to a Django / REST app? I see that there are at least two packages: django-rest-framework-social-oauth2 (see https://pypi.python.org/pypi/django-rest-framework-social-oauth2/0.0.4) and django-rest-auth (see http://django-rest-auth.readthedocs.org/en/latest/installation.html). django-rest-framework-social-oauth2 seems to have a lot of dependencies. While the install page for django-rest-auth says that you should install rest_framework and rest_framework.authtoken apps, both of which give an error if you try to install them with pip: Downloading/unpacking rest-framework.authtoken Could not find any downloads that satisfy the requirement rest-framework.authtoken Cleaning up... No distributions at all found for rest-framework.authtoken Storing debug log for failure in C:\Users\Daniel\pip\pip.log Or is there a better alternative to these two packages for Django / REST / social authorization apps? -- 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 django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8637f6fa-7241-4866-9a52-311b36f5d8be%40googlegroups.com <https://groups.google.com/d/msgid/django-users/8637f6fa-7241-4866-9a52-311b36f5d8be%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- aRkadeFR -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5583C520.7090406%40arkade.info. For more options, visit https://groups.google.com/d/optout.
Re: Preferred way of adding social authorization to a Django / REST app?
the package is called "rest-framework" and it includes the authtoken app http://www.django-rest-framework.org/api-guide/authentication/ INSTALLED_APPS = ( ... 'rest_framework.authtoken' ) On Thu, Jun 18, 2015 at 3:00 PM, Daniel Grace <danwgr...@gmail.com> wrote: > What is the preferred way of adding social authorization to a Django / > REST app? > > I see that there are at least two packages: > django-rest-framework-social-oauth2 (see > https://pypi.python.org/pypi/django-rest-framework-social-oauth2/0.0.4) > and django-rest-auth (see > http://django-rest-auth.readthedocs.org/en/latest/installation.html). > django-rest-framework-social-oauth2 seems to have a lot of dependencies. > While the install page for django-rest-auth says that you should > install rest_framework and rest_framework.authtoken apps, both of which > give an error if you try to install them with pip: > > Downloading/unpacking rest-framework.authtoken > Could not find any downloads that satisfy the requirement > rest-framework.authtoken > Cleaning up... > No distributions at all found for rest-framework.authtoken > Storing debug log for failure in C:\Users\Daniel\pip\pip.log > > Or is there a better alternative to these two packages for Django / REST / > social authorization apps? > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/8637f6fa-7241-4866-9a52-311b36f5d8be%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/8637f6fa-7241-4866-9a52-311b36f5d8be%40googlegroups.com?utm_medium=email_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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei0NvJFqHrQjYcGqJJQewqMoAG0-fsNu8YdDLK3shYyUZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Preferred way of adding social authorization to a Django / REST app?
What is the preferred way of adding social authorization to a Django / REST app? I see that there are at least two packages: django-rest-framework-social-oauth2 (see https://pypi.python.org/pypi/django-rest-framework-social-oauth2/0.0.4) and django-rest-auth (see http://django-rest-auth.readthedocs.org/en/latest/installation.html). django-rest-framework-social-oauth2 seems to have a lot of dependencies. While the install page for django-rest-auth says that you should install rest_framework and rest_framework.authtoken apps, both of which give an error if you try to install them with pip: Downloading/unpacking rest-framework.authtoken Could not find any downloads that satisfy the requirement rest-framework.authtoken Cleaning up... No distributions at all found for rest-framework.authtoken Storing debug log for failure in C:\Users\Daniel\pip\pip.log Or is there a better alternative to these two packages for Django / REST / social authorization apps? -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8637f6fa-7241-4866-9a52-311b36f5d8be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.