[Catalyst] Catalyst::Plugin::Session, Facebook,
and Custom Session ids
Yuval Kogman
nothingmuch at woobling.org
Thu May 31 01:11:24 GMT 2007
Write your own State plugin. State plugins are stackable (they can
fallback to eachother), and the API is fairly simple.
Look at ::Cookie for an example of some code on how to do that.
Perhaps even URI with session_param overridden will be enough.
On Wed, May 30, 2007 at 19:31:25 -0400, Jim Spath wrote:
> I'm currently using the following plugins for session management in my Catalyst app:
>
> Session
> Session::Store::Memcached
> Session::State::Cookie
> Session::DynamicExpiry
>
> Along with the following authentication plugins:
>
> Authentication
> Authentication::Store::DBIC
> Authentication::Credential::Password
>
> It all works great on my site... however, I was looking to integrate our app into Facebook, and to have users login to our service through Facebook.
>
> For every request, they will be passing an parameter called fb_sig_user, which I should be using as a session id on our side.
>
> I was wondering if there was a way that I could override the automatic creation of session ids with the Facebook id, while also continuing to use my current setup for onsite users? I've
> looked through the docs and searched a bit and am unclear on this.
>
> Thanks!
> Jim
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
--
Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org 0xEBD27418
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070531/bd900919/attachment.pgp
More information about the Catalyst
mailing list