Ignore this: it was a problem with the format of the user data.
Base-64 encoding the user_data takes care of the issue.


On May 17, 11:32 am, ram <[EMAIL PROTECTED]> wrote:
> Does anyone have an example of using the "auth_data" parm with
> Authkit?
>
> I'm using the 'forward' method, and I'm trying to set the value as
> follows:
>
>    request.environ['paste.auth_tkt.set_user'](uid, user_data =
> 'myuserdata')
>
> Setting the cookie works, but Authkit then immediately logs the user
> out with a message on the browser that reads:
>
> Bad cookie, you have been signed out.
> If this problem persists, please clear your browser's cookies.
>
> Works fine without the user_data.
>
> Thanks,
> Rick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to