sumit-kumar-iitm / jopenid

Automatically exported from code.google.com/p/jopenid
0 stars 0 forks source link

Exception on an attempt to authenticate against me.yahoo.com #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
java.lang.NullPointerException: Url is null.
    at org.expressme.openid.Endpoint.<init>(Endpoint.java:27)
    at org.expressme.openid.OpenIdManager.requestEndpoint(OpenIdManager.java:261)
    at org.expressme.openid.OpenIdManager.lookupEndpoint(OpenIdManager.java:223)

Here's the code which I use for authentication:

    OpenIdManager manager = getOpenIdManager();

    Endpoint endpoint = manager.lookupEndpoint(url);
    Association assoc = manager.lookupAssociation(endpoint);

Original issue reported on code.google.com by Konstant...@gmail.com on 3 Feb 2011 at 1:58

GoogleCodeExporter commented 8 years ago
I think you are using incorrect discovery url.
The correct url is http://open.login.yahooapis.com/openid20/www.yahoo.com/xrds

Original comment by rpriyank...@gmail.com on 21 Aug 2012 at 9:50