Hi,
My attempt to use Yahoo openid is failing at the moment. It was working couple of days earlier.
The discovery URL provided is
http://www.yahoo.com/See the log below:
- Starting discovery on URL identifier: http://www.yahoo.com/
- Yadis discovery succeeded on http://www.yahoo.com/
- Using Yadis normalized URL as claimedID: http://www.yahoo.com/
- Ignoring invalid OP endpoint URL in XRDS file: <?xml version="1.0" encoding="UTF-8"?>
<URI/>
java.lang.IllegalArgumentException: URI is not absolute
at java.net.URI.toURL(URI.java:1080)
at org.openid4java.discovery.Discovery.extractDiscoveryInformation(Discovery.java:2
56)
at org.openid4java.discovery.Discovery.discover(Discovery.java:146)
at org.openid4java.discovery.Discovery.discover(Discovery.java:115)
at org.openid4java.consumer.ConsumerManager.discover(ConsumerManager.java:540)
at com.hravni.openid.servlet.ConsumerRedirectServlet.authRequest(ConsumerRedirectSe
rvlet.java:83)
at com.hravni.openid.servlet.ConsumerRedirectServlet.generateLoginForm(ConsumerRedi
rectServlet.java:66)
at com.hravni.openid.servlet.ConsumerRedirectServlet.doPost(ConsumerRedirectServlet
.java:59)
at com.hravni.openid.servlet.ConsumerRedirectServlet.doGet(ConsumerRedirectServlet.
java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
33)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109
)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
- No OpenID service types found in the XRDS.
- No OpenID service endpoints discovered through Yadis; attempting HTML discovery...
- HTML discovery completed on: http://www.yahoo.com/
- Discovered 0 OpenID endpoints.
- Association attempt, but no discovey endpoints provided.
Watching HTTP headers, I get the URL for XRDS as:
X-XRDS-Location:
http://open.login.yahooapis.com/openid20/www.yahoo.com/xrdsAnd when I download the Yahoo XRDS document using browser, I see the following content:
<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS
xmlns:xrds="xri://$xrds"
xmlns:openid="http://openid.net/xmlns/1.0"
xmlns="xri://$xrd*($v*2.0)">
<XRD>
<Service priority="0">
<Type>http://specs.openid.net/auth/2.0/server</Type>
<Type>http://specs.openid.net/extensions/pape/1.0</Type>
<Type>http://openid.net/sreg/1.0</Type>
<Type>http://openid.net/extensions/sreg/1.1</Type>
<URI>https://open.login.yahooapis.com/openid/op/auth</URI>
</Service>
</XRD>
</xrds:XRDS>
I am at a loss to understand what has changed or what I am doing wrong.
Can anyone throw some light on this?
Regards,
Harsha