IRC Log for #openid on 2009-01-10
Timestamps are in UTC.
- [00:02:23] * TedThibodeauJr (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) has joined #openid
- [00:03:55] * MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) Quit (Nick collision from services.)
- [00:03:59] * TedThibodeauJr is now known as MacTed
- [00:20:06] * tjohns (n=trevorjo@72.14.224.1) Quit ()
- [00:28:01] * daleolds (n=daleolds@137.65.156.33) has joined #openid
- [00:29:28] * tjohns (n=trevorjo@216.239.45.19) has joined #openid
- [00:29:48] * tjohns_ (n=trevorjo@72.14.224.1) has joined #openid
- [00:45:24] * tjohns (n=trevorjo@216.239.45.19) Quit (Read error: 110 (Connection timed out))
- [01:10:23] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit ()
- [01:10:30] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [01:20:16] * jaguarandi (n=darkaj@85.138.59.241) Quit (Read error: 113 (No route to host))
- [01:21:52] * tjohns_ (n=trevorjo@72.14.224.1) Quit ()
- [01:28:23] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Read error: 110 (Connection timed out))
- [01:29:12] * daleolds (n=daleolds@137.65.156.33) Quit ("Leaving.")
- [01:30:46] * tjohns (n=trevorjo@216.239.45.19) has joined #openid
- [01:35:48] * tjohns_ (n=trevorjo@72.14.224.1) has joined #openid
- [01:39:18] * tjohns (n=trevorjo@216.239.45.19) Quit (Read error: 60 (Operation timed out))
- [02:34:15] * tjohns_ (n=trevorjo@72.14.224.1) Quit ()
- [02:34:24] * mosites (n=mosites@static-98-112-71-211.lsanca.dsl-w.verizon.net) Quit ("Streamy (http://www.streamy.com/)")
- [03:11:15] * ignaciogggg (n=ignaciog@host7.190-137-194.telecom.net.ar) Quit ()
- [03:36:16] * tjohns (n=trevorjo@216.239.45.19) has joined #openid
- [03:36:55] * tjohns_ (n=trevorjo@72.14.224.1) has joined #openid
- [03:45:24] * tjohns (n=trevorjo@216.239.45.19) Quit (Read error: 145 (Connection timed out))
- [03:53:44] * tjohns_ (n=trevorjo@72.14.224.1) Quit ()
- [04:04:14] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [04:38:07] * ignaciogggg (n=ignaciog@host7.190-137-194.telecom.net.ar) has joined #openid
- [05:40:30] * tjohns (n=tjohns@adsl-69-228-171-34.dsl.snfc21.sbcglobal.net) has joined #openid
- [05:41:02] * tjohns (n=tjohns@adsl-69-228-171-34.dsl.snfc21.sbcglobal.net) Quit (Client Quit)
- [05:41:07] * tjohns (n=tjohns@adsl-69-228-171-34.dsl.snfc21.sbcglobal.net) has joined #openid
- [05:43:25] * ignaciogggg (n=ignaciog@host7.190-137-194.telecom.net.ar) has left #openid
- [07:55:09] * jcrosby (n=jon@astound-66-234-216-247.ca.astound.net) has joined #openid
- [07:55:34] * jcrosby (n=jon@astound-66-234-216-247.ca.astound.net) Quit (Client Quit)
- [07:55:39] * jcrosby (n=jon@astound-66-234-216-247.ca.astound.net) has joined #openid
- [08:08:02] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit ()
- [08:08:19] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:08:22] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Client Quit)
- [08:08:33] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:08:42] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Client Quit)
- [08:08:53] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:09:30] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Read error: 54 (Connection reset by peer))
- [08:09:30] * metadaddy_ (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:09:37] * metadaddy_ (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Client Quit)
- [08:10:11] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:10:16] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Client Quit)
- [08:10:53] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:11:31] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Read error: 54 (Connection reset by peer))
- [08:11:31] * metadaddy_ (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [08:12:10] * metadaddy_ (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Read error: 104 (Connection reset by peer))
- [08:36:48] * jaguarandi (n=darkaj@85.138.59.241) has joined #openid
- [10:09:06] * jcrosby (n=jon@astound-66-234-216-247.ca.astound.net) Quit ()
- [11:48:54] * tjohns (n=tjohns@adsl-69-228-171-34.dsl.snfc21.sbcglobal.net) Quit ()
- [12:02:36] * shawn (n=shawn@208-78-98-92.slicehost.net) Quit (kubrick.freenode.net irc.freenode.net)
- [12:02:36] * samsm (n=samsm@c-98-242-68-134.hsd1.ga.comcast.net) Quit (kubrick.freenode.net irc.freenode.net)
- [12:02:36] * NetersLandreau (n=NetersLa@b2.e6.354a.static.theplanet.com) Quit (kubrick.freenode.net irc.freenode.net)
- [12:03:03] * shawn (n=shawn@208-78-98-92.slicehost.net) has joined #openid
- [12:03:03] * samsm (n=samsm@c-98-242-68-134.hsd1.ga.comcast.net) has joined #openid
- [12:03:03] * NetersLandreau (n=NetersLa@b2.e6.354a.static.theplanet.com) has joined #openid
- [12:29:22] * xpo (n=xpo@bgl93-2-82-226-41-47.fbx.proxad.net) has joined #openid
- [15:11:42] * xpo (n=xpo@bgl93-2-82-226-41-47.fbx.proxad.net) Quit ()
- [18:05:35] * ignaciogggg (n=ignaciog@host7.190-137-194.telecom.net.ar) has joined #openid
- [18:18:05] * Titan (n=ins3@unaffiliated/titan) has joined #openid
- [18:18:11] <Titan>
hi I am using janrains openid lib
- [18:18:15] <Titan>
but how do I log people out
- [18:18:20] <Titan>
I don't see a method for it
- [18:18:40] <Titan>
either in Auth_OpenID_Consumer or Auth_OpenID_FileStore
- [18:19:55] <Titan>
cervicek elliottcable GabeW idnar ignaciogggg jaguarandi Jj k0rnel keturn MacTed NetersLandreau OpenIDlogbot overlast Peng Peng_ Rockj samsm shawn zigorou_ you there?
- [18:20:51] <NetersLandreau>
Titan: the RP is responsible for ending authorizations
- [18:21:18] <Titan>
so how do I provide the user with a logout button/link
- [18:21:37] <Titan>
stackoverflow.com has a logout for openid auths for example
- [18:22:24] <NetersLandreau>
you don't.. the site they are logging in to is responsible.. but i will look at stackoverflow.com.. there are a lot of bad clients out there
- [18:22:34] <samsm>
How do you know in code that a person is logged in?
- [18:22:54] <Titan>
samsm: using session variables (php by the way)
- [18:23:04] <samsm>
Clear the session == logged out
- [18:23:16] <Titan>
ah yes
- [18:23:22] <Titan>
but that leaves the other problem
- [18:23:27] <Titan>
the filestore cache
- [18:23:46] <Titan>
http://openidenabled.com/files/php-openid/docs/2.1.2/OpenID/Auth_OpenID_FileStore.html
- [18:24:17] <Titan>
how would I get a file store instance from an openid session
- [18:34:01] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [18:39:46] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit ()
- [18:49:08] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) has joined #openid
- [18:49:33] <samsm>
Why would you want to?
- [18:49:41] <samsm>
Or: I don't know what you mean.
- [18:50:03] <Titan>
the filestore class creates some files (3 I think) per openid user
- [18:50:29] <Titan>
I wanted to know if there was a way to delete the files for logged out users
- [18:59:23] <samsm>
It isn't an immediate concern.
- [18:59:50] <samsm>
But you can probably apply some date based deletes periodically.
- [19:00:08] <Titan>
true, I realised that a few moments ago
- [19:00:10] <Titan>
thanks anyway
- [19:25:18] * kashyapc (n=kashyapc@122.169.92.111) has joined #openid
- [19:25:39] * kashyapc (n=kashyapc@122.169.92.111) has left #openid
- [19:38:13] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) has joined #openid
- [19:41:59] * metadaddy (n=metadadd@c-76-102-102-87.hsd1.ca.comcast.net) Quit (Client Quit)
- [19:54:23] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) Quit (kubrick.freenode.net irc.freenode.net)
- [19:54:23] * NetersLandreau (n=NetersLa@b2.e6.354a.static.theplanet.com) Quit (kubrick.freenode.net irc.freenode.net)
- [19:54:23] * shawn (n=shawn@208-78-98-92.slicehost.net) Quit (kubrick.freenode.net irc.freenode.net)
- [19:54:23] * samsm (n=samsm@c-98-242-68-134.hsd1.ga.comcast.net) Quit (kubrick.freenode.net irc.freenode.net)
- [19:55:14] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) has joined #openid
- [19:55:14] * shawn (n=shawn@208-78-98-92.slicehost.net) has joined #openid
- [19:55:14] * samsm (n=samsm@c-98-242-68-134.hsd1.ga.comcast.net) has joined #openid
- [19:55:14] * NetersLandreau (n=NetersLa@b2.e6.354a.static.theplanet.com) has joined #openid
- [19:57:14] * Titan (n=ins3@unaffiliated/titan) has left #openid
- [19:58:30] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) Quit ()
- [21:01:54] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) has joined #openid
- [21:47:22] * Titan (n=ins3@unaffiliated/titan) has joined #openid
- [21:47:28] <Titan>
hi omg I am back
- [21:47:39] <Titan>
how do you canonicalize an openid
- [21:48:01] <Titan>
for like a unique ID per person regardless of the uri
- [21:48:06] * Titan pokes samsm
- [21:52:37] <samsm>
Give me an example.
- [21:57:45] <Titan>
like if someone signs in with user.myopenid.com
- [21:57:55] <Titan>
and next time signs in with a http:// before that
- [21:58:12] <samsm>
The library handles that.
- [21:58:16] <Titan>
the janrain one?
- [21:58:20] <samsm>
http::// is assumed
- [21:58:22] <samsm>
Yes.
- [21:58:39] <Titan>
I know the library handles it
- [21:58:48] <Titan>
but I need to know the canonicalized form for the database
- [21:58:55] <Titan>
so I can assign different users roles etc
- [21:59:15] <samsm>
Let the library tell you what identity it verified.
- [21:59:26] <samsm>
I think tt will include http://
- [22:00:20] <Titan>
where will it tell me this
- [22:01:03] <samsm>
Not sure, I don't use the PHP library. What data do you get back from a successful OpenID verification?
- [22:01:31] <Titan>
I get the sreg details so that's ok, I just need the standardised form of the openid URI
- [22:01:45] <Titan>
... one that won't change if the user put a forward slash and the end or whatever
- [22:01:57] <samsm>
Do you get a success/fail notice of some sort?
- [22:02:26] <Titan>
http://openidenabled.com/files/php-openid/docs/2.1.2/OpenID/Auth_OpenID_Consumer.html#complete I get that
- [22:02:33] <Titan>
in the return url
- [22:05:45] * mosites (n=mosites@pool-72-67-96-205.lsanca.fios.verizon.net) Quit ()
- [22:09:24] <Titan>
>_<
- [22:11:12] <samsm>
I'd imagine there's a normalize_url method somewhere.
- [22:11:33] <Titan>
if there is I can't find it
- [22:11:36] <Titan>
http://openidenabled.com/files/php-openid/docs/2.1.2/
- [22:11:50] <Titan>
do you use openid samsm? how do you deal with this problem
- [22:12:04] <samsm>
It's not a problem if you use Ruby or Python.
- [22:12:17] <Titan>
how so?
- [22:12:39] <Titan>
if you want to make an openid user a uid on a database
- [22:12:46] <samsm>
Here's an example: http://pastie.org/357562
- [22:12:47] <Titan>
but they provide different URIs each time
- [22:13:08] <samsm>
You let the library normalize it, then get the url back from the library.
- [22:13:19] <Titan>
this is janrains libs?
- [22:13:35] <samsm>
Yes
- [22:13:43] <samsm>
Some stuff built on top.
- [22:14:04] <samsm>
I'm sure that's how you are supposed to do it with the PHP libraries, I just don't know how.
- [22:14:24] <Titan>
ill have to keep looking then
- [23:01:15] * bce (n=brianell@c-24-21-222-46.hsd1.or.comcast.net) has joined #openid
- [23:27:00] <Titan>
http://drupal.org/node/218097 hmm
- [23:27:06] <Titan>
could this be related samsm
- [23:28:08] <samsm>
It's unrelated to non-iname identities.
- [23:28:33] <Titan>
is what I am after called inames?
- [23:29:08] <samsm>
i-names are like a different namespace than DNS..
- [23:30:16] <Titan>
oh right
- [23:31:06] <samsm>
You just need to reach into the library and pull out the identity url. Just make sure it has been normalized and isn't a delegate and you are probably fine.
- [23:31:46] <samsm>
Stick breakpoints in there, find the value, and use that until someone can get you a better answer.
- [23:32:25] <Titan>
I suppose
- [23:35:56] <samsm>
Looks like this is what does it in the Ruby library: http://pastie.org/357621
- [23:37:22] <Titan>
ruby code makes me >_<
- [23:37:29] <Titan>
but thanks lol ill look for a similar function name
- [23:52:17] * devlindaley_ (n=devlin@128.187.131.82) has joined #openid
- [23:58:30] * devlindaley_ (n=devlin@128.187.131.82) Quit ()
These logs were automatically created by OpenIDlogbot on
chat.freenode.net
using a modified version of the Java IRC LogBot.