Arc Forumnew | comments | leaders | submitlogin
1 point by immad 6149 days ago | link | parent

I am working on OpenID integration for arc. The OpenID code was written by rtm, using the OpenID perl library.

It works fairly well. I am just putting the Clickpass stuff into it. It will probably be released with arc in the not too distant future, though i am not sure exactly how it will be structured.



1 point by CatDancer 6149 days ago | link

I started out thinking I'd be using Perl (just because I program in Perl a lot), but then it didn't look like any of the Perl OpenID libraries supported OpenID version 2 yet...

How are you integrating with Perl, just out of curiousity?

-----

1 point by immad 6149 days ago | link

Yeah, good point, I hadn't checked for OpenID 2.0 supports.

It was all rtm. The call looks like this:

  (withs (cmd (+ "./yc-openid.pl -1 < " filename)
                stream (pipe-from cmd)
                redir (readline stream)
                canon (readline stream))
           (close stream)
           (rmfile filename)
           (list redir canon))

-----

1 point by CatDancer 6149 days ago | link

Yup, that's essentially the same approach as I'm taking (at least in terms of connecting Arc to another language).

Well, if any of the code I'm writing turns out to be useful to you for your project, you're welcome to make use of it... it's all in the public domain anyway :)

-----

1 point by immad 6149 days ago | link

cool, I got the source. I will see where it helps. Got a few little things to do with mine, I am sure it will be release soonish...

-----