Monday, April 25, 2016

Re: Using django login functionality in a non django app

Hello,

this all depends on how this Qt app communicates with the other end (server side). Does it offer *any* kind of authentication/authorization? If so, look for ways to integrate it with Django. If not, you are screwed anyway (from security point of view), because even if your app pops up a login screen, there can (and will) be ways to get around it.

Best,
Gergely

On Apr 25, 2016 22:37, "Larry Martell" <larry.martell@gmail.com> wrote:
We have an existing django app with login, change password, and forgot
password functionality.

Then we have this other app built with the falcon framework. The
client side of that is C++/Qt. That app has no login functionality -
you bring it up and you're in. We would like to somehow use the login
functionality of the django app in the falcon app. Is that even
possible? I was thinking that in the Qt app I could bring up the
django login page by invoking the URL for that app. But once they log
in, how could I get control back to the Qt app and not have it proceed
to the django app?

Does this even make any sense? Has anyone ever done anything like 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+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/CACwCsY4vgxwa6xCyem%3DG_OusAAfKcx5n-mixERNFDBdFknisoA%40mail.gmail.com.
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+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/CACczBUJBXK-Y2Z8_VtidiTNpuNUZXi7hCruVTfx72cPDc87m9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment