?

Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

openid, openid, etc etc [Jun. 28th, 2005|11:05 pm]
Brad Fitzpatrick
[Tags|, ]

OpenID consumer demos updated to be much sexier (well, the AJAX one)

http://www.danga.com/openid/demo/demo.html

Driving to Portland tomorrow. 10 hours in the car... yay!
LinkReply

Comments:
[User Picture]From: bigjimsjazz
2005-06-29 06:15 am (UTC)

Thanks for yet another really cool(and very useful) thing.
(Reply) (Thread)
[User Picture]From: caladri
2005-06-29 06:24 am (UTC)
At least in Safari, the popup for the AJAX one doesn't self-close or anything, which is awkward. I can't remember if it was like that before. Maybe it's not supposed to, but it seems like it used to go away, or something. Then again, I last poked at that some weeks ago.

Also, cocks. OpenID is great. I've had to explain it in practical terms to like 5 people who didn't get it until that point, though. There should really be something short and concise which doesn't try to encompass all the bits of it that you, as a geek, like about it, which rather just answers the "what does this mean to me?" question and gives a practical example or two. JFYI.
(Reply) (Thread)
[User Picture]From: brad
2005-06-29 06:50 am (UTC)
I tested:

IE 6 -- no popup blocker
IE 6 -- Google popup blocker
Safari 1.3 (v312) -- no popup blocking
Firefox 1.0.4 -- popup blocking on
Firefox 1.0.4 -- popup blocking off

Worked fine for me in all cases, either either window.open() opening the new windows (and closing them), or in the pop-up blocking case where the user had to click the "setup permissions" link themselves, but I tested it still got closed in all cases.

But I didn't test Safari with pop-up blocking... (didn't see the option). Grrr. I always hate debugging Safari.
(Reply) (Parent) (Thread)
[User Picture]From: taral
2005-06-29 06:59 am (UTC)
Well, referring to "parent" instead of "opener" will mess up people with redirect-popups-to-tabs.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2005-06-29 07:23 am (UTC)
That wasn't it. I got it working... Safari will still open windows if it's in response to a mouse click event.
(Reply) (Parent) (Thread)
[User Picture]From: taral
2005-06-29 03:37 pm (UTC)
Yay. It appears to be working in Firefox for me now. :)
(Reply) (Parent) (Thread)
[User Picture]From: brad
2005-06-29 07:23 am (UTC)
Safari w/ pop-up blocking should be good now.
(Reply) (Parent) (Thread)
[User Picture]From: caladri
2005-06-29 07:27 am (UTC)
Not for me/my version. Clicking DEBUG said setupWin1 and setupWin2 were [Object window] and then closed the window in question.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2005-06-29 07:29 am (UTC)
Would help if you told me the damn version, ya know? And any other options you might have on?

But reload or something. You might not have the latest files, because that debug stuff was old.
(Reply) (Parent) (Thread)
[User Picture]From: caladri
2005-06-29 07:30 am (UTC)
Sorry, would have up front if I'd been thinking about it as a "my browser is actually misbehaving" sort of way. Safari 1.3 (v312) with the builtin popup blocking and nothing else that I can think of.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2005-06-29 07:32 am (UTC)
Then it should work, because that's exactly what I have. Stock Mac, no special anything. I tested it with both builtin popup blocking on and off.

You opening windows in new tabs by default? That's known broken. Will fix next week.
(Reply) (Parent) (Thread)
[User Picture]From: caladri
2005-06-29 07:35 am (UTC)
Actually, I don't have blocking turned on, even, this is a totally default version of Safari but with tabs turned on, but no opening windows in new tabs by default; your window opens as a new window. I forgot I was logged in without my homedir. This should be all defaults.
(Reply) (Parent) (Thread)
[User Picture]From: caladri
2005-06-29 07:36 am (UTC)
Oops. I was only testing in the negative (cancel) case. I see below that that's apparently a general problem. I just tried the success case and it works. Sorry for confusion and wasting your time.
(Reply) (Parent) (Thread)
[User Picture]From: caladri
2005-06-29 07:31 am (UTC)
The DEBUG stuff is gone, the window still doesn't close.
(Reply) (Parent) (Thread)
[User Picture]From: mrlachatte
2005-06-29 06:39 am (UTC)
I tried it out, and I might be doing something wrong, but I couldn't make it validate my indentity (mrlachatte.livejournal.com) for "just that one time." When I clicked "always" it worked fine, but the times that I clicked "one time only" it asked me to validate my identity again.
(Reply) (Thread)
[User Picture]From: xaosenkosmos
2005-06-29 06:45 am (UTC)
Is there a trivial demo server implementation? I'd like to kludge an OpenID server onto the blog package i use. Once that's done, i'll look into adding consumer support, but that will require *shudder* python, since i can't just delegate it off to a separate URL.
(Reply) (Thread)
[User Picture]From: brad
2005-06-29 06:51 am (UTC)
perldoc Net::OpenID::Server's example at top is a trivial server application, essentially
(Reply) (Parent) (Thread)
[User Picture]From: taral
2005-06-29 07:05 am (UTC)
mode=cancel is broken... doesn't close the window.
(Reply) (Thread)
[User Picture]From: taral
2005-06-29 07:09 am (UTC)
In general, errors don't close the window.
(Reply) (Parent) (Thread)
[User Picture]From: taral
2005-06-29 07:07 am (UTC)
Haven't tested it, but if it uses Net::OpenID, then it barfs on this link tag:

<link rel="openid.server" href="openid.php" />
(Reply) (Thread)
[User Picture]From: brad
2005-06-29 07:15 am (UTC)
Oh yeah, I don't resolve relative links. Whoops.
(Reply) (Parent) (Thread)
[User Picture]From: andrewducker
2005-06-29 07:22 am (UTC)
When it showed me "grant permission" link, I automatically opened it in a new tab (as I tend to do with links). I then authorised, and it tried to return me to somewhere, and got very confused.

I'd check it again, but now I'm verified it just goes straight through without that link.
(Reply) (Thread)
[User Picture]From: brad
2005-06-29 07:30 am (UTC)
I can reproduce, opening the link in a tab.

Will look into sometime next week.
(Reply) (Parent) (Thread)
[User Picture]From: taral
2005-06-29 03:35 pm (UTC)
Oops. Doesn't handle HTTP errors on check_immediate. (e.g. 404 because openid.server href is wrong)
(Reply) (Thread)
[User Picture]From: dakus
2005-06-30 01:50 am (UTC)
hey! it worked! I feel validated now...
(Reply) (Thread)