From ron at flownet.com Mon Oct 4 23:25:34 2010 From: ron at flownet.com (Ron Garret) Date: Mon, 4 Oct 2010 16:25:34 -0700 Subject: [cl-openid-devel] Hello In-Reply-To: References: Message-ID: Hello, I'm trying to get cl-openid up and running with no luck. I try running the RP example but all I get are various errors depending on what I try. If I do this: (init-relying-party "http://localhost:1234/" "/cl-openid/") then go to http://localhost:1234/cl-openid/ and type in, say, my gmail address, I get this error: Error # because it calls: (MAKE-TCP-STREAM-SOCKET 14 :REMOTE-HOST "ron.garret at gmail.com" :REMOTE-PORT 80 ... I've tried various other permutations but nothing seems to work. Can someone please point me in the right direction? Thanks, rg From avodonosov at yandex.ru Tue Oct 5 05:01:40 2010 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Tue, 05 Oct 2010 09:01:40 +0400 Subject: [cl-openid-devel] Fwd: Hello Message-ID: <617081286254900@web68.yandex.ru> [resending to the list with zipped attachment, because the previous message was bounced from the list for too large message body] Hello Ron. You should not enter email address as an OpenID user identifier. OpenID identifies users by URLs. Try for example http://rondam.blogspot.com/. The relying party example should work. I am also attaching the cl-openid tutorial I started once. The tutorial was never been published, because I am not fully satisfied with it. I was aiming to explain how OpenID works, and in result the tutorial became somewhat wordy; I want to make it more laconic before publishing. The tutorial starts from OpenID provider example, as close to a real-world usage as possible (asks user confirmation to inform RP about his account, maintains a list of trusted realms, provide anti-phishing warning). Together with protocol explanation comments the provider example is somewhat large. Probably it may be useful for you, especially if you are not familiar with OpenID. At the bottom of the tutorial there is also relying party example (entitled as "Step 2"), the example is quite small; but the RP example in the tutorial has no significant difference comparing to the relying-party.lisp which you are trying now. Best regards, - Anton 05.10.10, 03:25, "Ron Garret" : > Hello, > > I'm trying to get cl-openid up and running with no luck. I try running the RP example but all I get are various errors depending on what I try. If I do this: > > (init-relying-party "http://localhost:1234/" "/cl-openid/") > > then go to http://localhost:1234/cl-openid/ and type in, say, my gmail address, I get this error: > > Error # > > because it calls: > > (MAKE-TCP-STREAM-SOCKET 14 :REMOTE-HOST "ron.garret at gmail.com" :REMOTE-PORT 80 ... > > I've tried various other permutations but nothing seems to work. Can someone please point me in the right direction? > > Thanks, > rg > > > _______________________________________________ > cl-openid-devel mailing list > cl-openid-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-openid-devel > > ----- ? ???????????? ????????? ??????? ?????: ----- tutorial.lisp -------- ?????????? ????????????? ????????? -------- -------------- next part -------------- A non-text attachment was scrubbed... Name: tutorial.zip Type: application/zip Size: 11291 bytes Desc: not available URL: From avodonosov at yandex.ru Fri Oct 15 01:19:20 2010 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Fri, 15 Oct 2010 05:19:20 +0400 Subject: [cl-openid-devel] Hello Message-ID: <360071287105560@web95.yandex.ru> In private email, Ron Garret informed me that the tutorial I sent in the previous message doesn't work with hunchentoot 1.1.0. I am sending the fixed tutorial (attached) to the list, in case anyone else will need it. BTW, the reason of the error was that functions POST-PARAMETERS, GET-PARAMETERS in hunchentoot 1.1.0 have required argument REQUEST (in hunchentoot 0.15.7 it defaulted to *REQUEST*). I also fixed two other minor erros (typo in trusted realms handling, and work with session when we store open-id request on it). Best regards, - Anton -------------- next part -------------- A non-text attachment was scrubbed... Name: tutorial.zip Type: application/zip Size: 10994 bytes Desc: not available URL: From fred at streamfocus.com Fri Oct 15 20:28:26 2010 From: fred at streamfocus.com (Fred Gibson) Date: Fri, 15 Oct 2010 13:28:26 -0700 Subject: [cl-openid-devel] Darcs repository not working? Message-ID: I'm trying to get the latest release of cl-openid (to use later in conjunction with cl-oauth for working with google apps), but am getting a "Not a repository" error when trying to use a darcs get. Any help would be greatly appreciated! Thanks, Fred Gibson Founder / Software Developer http://www.streamfocus.com 415.294.0431 (voice) (c)2010 Organon Technologies LLC From fred at streamfocus.com Fri Oct 15 20:43:26 2010 From: fred at streamfocus.com (Fred Gibson) Date: Fri, 15 Oct 2010 13:43:26 -0700 Subject: [cl-openid-devel] Darcs repository not working? In-Reply-To: References: Message-ID: Found the issue: the project site (http://common-lisp.net/project/cl-openid/) is showing the wrong url for getting the project by showing this: darcs get http://common-lisp.net/project/cl-openid/ rather than the following which does work: darcs get http://common-lisp.net/project/cl-openid/darcs/cl-openid On Fri, Oct 15, 2010 at 1:28 PM, Fred Gibson wrote: > I'm trying to get the latest release of cl-openid (to use later in > conjunction with cl-oauth for working with google apps), but am > getting a "Not a repository" error when trying to use a darcs get. > Any help would be greatly appreciated! > > Thanks, > > Fred Gibson > > Founder / Software Developer > http://www.streamfocus.com > > 415.294.0431 (voice) > > (c)2010 Organon Technologies LLC > -- Fred Gibson Founder / Software Developer http://www.streamfocus.com 415.294.0431 (voice) (c)2010 Organon Technologies LLC From maciej at pasternacki.net Sat Oct 16 11:42:34 2010 From: maciej at pasternacki.net (Maciej Pasternacki) Date: Sat, 16 Oct 2010 13:42:34 +0200 Subject: [cl-openid-devel] Darcs repository not working? In-Reply-To: References: Message-ID: <532E5246-87D0-4CE2-A268-E2CDB2FFE631@pasternacki.net> Fixed, thanks for noticing this. Best, Maciej. On Oct 15, 2010, at 22:43, Fred Gibson wrote: > Found the issue: the project site > (http://common-lisp.net/project/cl-openid/) is showing the wrong url > for getting the project by showing this: darcs get > http://common-lisp.net/project/cl-openid/ rather than the following > which does work: > darcs get http://common-lisp.net/project/cl-openid/darcs/cl-openid > > > On Fri, Oct 15, 2010 at 1:28 PM, Fred Gibson > wrote: >> I'm trying to get the latest release of cl-openid (to use later in >> conjunction with cl-oauth for working with google apps), but am >> getting a "Not a repository" error when trying to use a darcs get. >> Any help would be greatly appreciated! >> >> Thanks, >> >> Fred Gibson >> >> Founder / Software Developer >> http://www.streamfocus.com >> >> 415.294.0431 (voice) >> >> (c)2010 Organon Technologies LLC >> > > > > -- > Fred Gibson > > Founder / Software Developer > http://www.streamfocus.com > > 415.294.0431 (voice) > > (c)2010 Organon Technologies LLC > > _______________________________________________ > cl-openid-devel mailing list > cl-openid-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-openid-devel -- Maciej Pasternacki -><- http://www.pasternacki.net/ -><- http://www.3ofcoins.net/