Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Sample OP fails with "signature mismatch" error with some RPs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex Little  
View profile  
 More options Jan 29 2008, 7:06 am
From: Alex Little <AlextLit...@googlemail.com>
Date: Tue, 29 Jan 2008 04:06:43 -0800 (PST)
Local: Tues, Jan 29 2008 7:06 am
Subject: Sample OP fails with "signature mismatch" error with some RPs
Hi,

I'm trying to figure out why the sample OP in openid4java (the simple-
openid webapp) fails (with varying errors) for some RPs...

For example (each time using "openid.open.ac.uk/simple-openid/
user.jsp" as the id url):

a) using the simple-openid consumer (at http://openid.open.ac.uk/simple-openid/)
- all works fine

b) using http://ma.gnolia.com/signin: get the error: "Verification of
http://openid.open.ac.uk/simple-openid/user.jsp failed. sig mismatch"

c) using http://www.livejournal.com/openid/: get the error:
"no_head_tag: Couldn't find OpenID servers due to no head tag". If I
change to using the head/link tag (using the id url:
"openid.open.ac.uk/simple-openid/user.html") I get the error
"signature_mismatch:"

d) using http://trac.openidenabled.com/trac/login: get the error:
"login failed" (but no more details)

I realise that some of these errors could be due to the RP site
(rather than the OP), but these sites work fine with my verisign
openid url - so I think it's a problem with the OP rather than RP.

I'm having trouble figuring out what's actually going wrong - can
anyone point me to what I should be looking for to get this fixed? Or
has anyone else experienced the same problems? Feel free to try out my
id urls (as given above). Would be really good if the sample server
worked for all these sites too ;-)

Cheers & any help/advice much appreciated :-)
Alex


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johnny Bufu  
View profile  
 More options Jan 29 2008, 1:49 pm
From: Johnny Bufu <joh...@sxip.com>
Date: Tue, 29 Jan 2008 10:49:13 -0800
Local: Tues, Jan 29 2008 1:49 pm
Subject: Re: [openid4java] Sample OP fails with "signature mismatch" error with some RPs

On 29-Jan-08, at 4:06 AM, Alex Little wrote:

> b) using http://ma.gnolia.com/signin: get the error: "Verification of
> http://openid.open.ac.uk/simple-openid/user.jsp failed. sig mismatch"

The openid.signed includes the claimed_id field, which is not part of  
the message (since it's a v1 response). This is a bug in the simple-
openid code -- claimed_id should not be included in the openid.signed  
field.

> c) using http://www.livejournal.com/openid/: get the error:
> "no_head_tag: Couldn't find OpenID servers due to no head tag". If I
> change to using the head/link tag (using the id url:
> "openid.open.ac.uk/simple-openid/user.html") I get the error
> "signature_mismatch:"

Looks like livejournal only supports OpenID1 (and HTML discovery),  
while your OP publishes only Yadis discovery. In order to be  
backwards-compatible, you need to publish HTML discovery as well.

> d) using http://trac.openidenabled.com/trac/login: get the error:
> "login failed" (but no more details)

I suspect it's the same issue as b).

Johnny


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Little  
View profile  
 More options Jan 29 2008, 2:43 pm
From: "Alex Little" <alextlit...@googlemail.com>
Date: Tue, 29 Jan 2008 19:43:57 +0000
Local: Tues, Jan 29 2008 2:43 pm
Subject: Re: [openid4java] Re: Sample OP fails with "signature mismatch" error with some RPs

Cheers Johnny, that make sense, I'll take a look and see if I can get it
fixed up (and post a patch if I do),

Alex


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johnny Bufu  
View profile  
 More options Jan 29 2008, 2:52 pm
From: Johnny Bufu <joh...@sxip.com>
Date: Tue, 29 Jan 2008 11:52:55 -0800
Local: Tues, Jan 29 2008 2:52 pm
Subject: Re: [openid4java] Re: Sample OP fails with "signature mismatch" error with some RPs

On 29-Jan-08, at 11:43 AM, Alex Little wrote:

> Cheers Johnny, that make sense, I'll take a look and see if I can  
> get it
> fixed up (and post a patch if I do)

That would be great, thanks!

If you don't, would you please file a bug report at http://
code.google.com/p/openid4java/issues/list ?

Johnny


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google