I Dont like it but i have to do it

The 21/11/12, Moises Zaragoza wrote:

   I need to open access to a no username and password to my application.

   What i did was i added a userkey field on my users model that can be past
   via a get or post method from another site.
   that will then find the correct user and log them in as if they had put in
   there user name and password.

I don't know for your specific question but you really should look for
information about how to let other open authenticated sessions. You might
find stuff and take inspiration from Facebook, Tweeter, GitHub or
whatever website offering public API.