Hello there!
-- Although you COULD use Session Authentication to authenticate users from external clients. I don't recommend it. It's going to be a pain. Instead what I recommend is using either Token Authentication or OAuth2 Authentication. They both allow you to authenticate from any client through the API rather than trying to authenticate through the Django view.
I'd be interested in hearing how Session Authentication is working for you and if you need help don't hesitate to ask questions about Token Authentication or OAuth2 Authentication.
I'd be interested in hearing how Session Authentication is working for you and if you need help don't hesitate to ask questions about Token Authentication or OAuth2 Authentication.
Chris
On Sunday, September 11, 2016 at 5:19:15 PM UTC-4, flaudizio wrote:
On Sunday, September 11, 2016 at 5:19:15 PM UTC-4, flaudizio wrote:
Hi guys,I'm a doubt about Django REST auth and an external app's (mobile, desktop).When we work with django in browser we have a session auth. To use session it's possible using django rest with an external app created in C sharp ? Or need to work with tokens in external app consulting my Django API REST ?Thank's a lot.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/509835c1-40f8-4640-ae90-8799692a2f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment