You'll want to setup an OAuth2 server for this.
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/nexi3WtCICI/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
Thanks for reminding about OAuth2.οΏ½
The API use case I'm currently dealing with includes authenticating my own clients with my server, not third party apps. Hence Oauth2 seems a bit weird here in terms of usability since it will ask user for permission to access the backend service when they visit mydomain.com. It suits Twitter/Facebook the way they use it but makes little sense for the app I'm building.
Also should OAuth2 do both authentication &οΏ½authorizationοΏ½or should I use OpenID. I am ideally looking for solutions that fit with default authentication backends that come with Django. OAuth2 is probably a good option I will consider, just not right now.Pratik
>> οΏ½--------------------------------------------------------------
>> οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½Nick Apostolakis
>> οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ οΏ½ e-mail: nick...@oncrete.gr
>> οΏ½ οΏ½ οΏ½ οΏ½ οΏ½Web Site: http://nick.oncrete.gr
>> οΏ½--------------------------------------------------------------
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/nexi3WtCICI/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users...@googlegroups.com.
>>
>> To post to this group, send email to django...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
οΏ½
οΏ½
Hi Pratik,
we have glued something together for openid.
git+git://github.com/openid/python-openid.git@7d65da5987
django-tastypie
django-guardian
hg+http://bitbucket.org/jezdez/django_openid_provider/@746ab34a974a
django-social-auth
oauth2
# iptools/netaddress tools for the api access based on ip
netaddr
Basically an openid server; we decide via the trusted roots of an openid user which openid consumer is allowed to use the openid_provider for authentication.
And in the API Part, we use backend dedicated api users with a static ip key combination.
You could use guardian for the access to resources.
Hope that helps
Thanks
Frank
Am 13.03.2013 11:02, schrieb Pratik Mandrekar:
Thanks for reminding about OAuth2.
The API use case I'm currently dealing with includes authenticating my own clients with my server, not third party apps. Hence Oauth2 seems a bit weird here in terms of usability since it will ask user for permission to access the backend service when they visit mydomain.com. It suits Twitter/Facebook the way they use it but makes little sense for the app I'm building.
Also should OAuth2 do both authentication & authorization or should I use OpenID. I am ideally looking for solutions that fit with default authentication backends that come with Django. OAuth2 is probably a good option I will consider, just not right now.Pratik
>> --------------------------------------------------------------
>> Nick Apostolakis
>> e-mail: nick...@oncrete.gr
>> Web Site: http://nick.oncrete.gr