Hello,

I wanted to create an authentication backend for Facebook using their
new Graph API. I however found out (after talking to some people on
#django IRC) that I could not access the cookies in a authentication
backend. Now I can't create it since it works by checking if some
cookies are available.

I was told to create a middleware which I did but it feels wrong since
it is called on every request for everything. And if I add
authentication by Twitter and maybe Google, there will be even more
middleware that is called everytime.

What is the best way to do this? The way Authentication backends works
sounds like the perfect fit.

Regards,

-Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to