check if an user is authenticated from another app
Hello list.
Obviously, I come here with a question. I have a web application developed with Django. It's working Ok. The app is just for internal use and the access to every view is only avaliable for authenticated users with permissions over the section (except for the view log-in)
Now other app written over other framework, running over his own web server and port (node.js) (but related with the django app)must to access at the same database to return certain information but it must to check if the user is authenticated. Here is my doubt, because Django manage the authentification ¿How can I check this in django and advise to the node.js app? Are any token in the database to check when an user is authenticated? How can I extract the user information from the request/session, delegate this to a function in django-python and get this information in the node.js? Maybe I must to build some web service in Django or program the token saving?
I'm a little lost. Sorry for this. Any idea?
Bye
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1zNHOC1u-VIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home