On Mar 28, 9:41 pm, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> On Friday 28 Mar 2008, Graham Dumpleton wrote:
>
> > On Mar 28, 9:21 pm, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> > > I've done that and now it's prompting me to login a normal browser dialog
> > > box. If I use my django login it works - is this expected behaviour or
> > > can I stop the login box appearing for users that have logged into django
> > > auth?
>
> > Yes it is expected behaviour. The recipe you are using is for HTTP
> > Basic Authentication, which makes use of a browser implemented popup
> > login window. In general you cannot make this disappear.
>
> Thanks Graham.
>
> My site looks a bit rubbish like that - users have to login twice, to
> different types of login box, to get site_media files that only logged in
> users are allowed to see. Does the WSGI stuff let me get around this?
No.
You may want to look at mod_auth_tkt.
http://www.openfusion.com.au/labs/mod_auth_tkt/
This is intended as a module to support single sign on across
applications. You would though have to work out how to get Django to
work with it.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---