grnq / joid

Java OpenID = JOID OpenID providers and relying parties for OpenID 1.1 and 2.0
Other
4 stars 0 forks source link

Unable to use Yahoo OpenID Provider #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to log in to yahoo openid provider
2. during association get immediate failure

Please provide any additional information below.
Spoke to Yahoo OpenID development and Yahoo only claims support for OpenID
2.0.(note your openid_url page states otherwise)
<link rel="openid2.provider"
href="https://open.login.yahooapis.com/openid/op/auth">
<link rel="openid.server"
href="https://open.login.yahooapis.com/openid/op/1.1/auth">

To resolve this, I made some small changes to two classes
1) Discover.findIDServer add check for openid2.provider and use that for server

2) In authentication response add these to the list of params that are put
into the map and signed.
http://openid.net/specs/openid-provider-authentication-policy-extension-1_0-01.h
tml#anchor10

Original issue reported on code.google.com by tod...@us.ibm.com on 5 Apr 2008 at 1:18

Attachments:

GoogleCodeExporter commented 9 years ago
I have tested with current SVN (100)
and just with the change on Discoverer I was able to login using yahoo openid.
I have changed also Message.java adding throws for expcetions, because the 
current
SVN code does not compile without this.

Original comment by ivanfm.l...@gmail.com on 30 Oct 2008 at 1:25

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by birkan.d...@gmail.com on 21 Jul 2011 at 11:09