Hi Deep,
On Friday, April 22, 2016 at 9:09:13 AM UTC-4, Deep Shah wrote:
-- In order to authenticate on mobile applications, you'll need to create an REST API and authenticate using Token Authentication or OAuth2 Authentication (Social Media: Google, Facebook, Twitter, etc.). How Token Authentication works is you will create an REST API on a Secure HTTP site with a route to a built-in view that sends the user's token. You can keep the Token saved for the duration of the session within the mobile app and it will prevent the user from logging out.
I hope that works!
Chris
On Friday, April 22, 2016 at 9:09:13 AM UTC-4, Deep Shah wrote:
I am new to Django. I want to know how will authentication work on mobile apps. How do I keep the user logged in on my mobile apps and not make them login every time? Is there any in-built method to save a token or something?
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/ab8b5d96-1ea5-48ef-a6ee-13b6b81e3461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment