Search code examples
djangoangularjsrestcordovatastypie

tastypie + angularjs + phonegap


First of all, Happy New Year to all the craftsmen, hackers, programmers, electronic wizards etc ! I have a question in regard to authentication & authorization of a web mobile app(angularjs + phonegap) & a backend service(rest - django/tastypie). How can I create or authorize a user(using facebook, twitter) with/in the django/tastypie backend ?

Any ideas? I read all other post in regard to this "issue", but I could not find a proper way to do this. Any suggestions, help, advice would be welcomed !

Thank you very much !


Solution

  • You need to implement OAuth in your system. Two way you can have this

    To implement with Django and Tasty try this

    Or to implement with JavaScript try this

    I would go with Django and Tasty.