Problem implementing Google OpenID with OpenID4Java

99 views
Skip to first unread message

Ripul

unread,
Aug 2, 2013, 9:23:08 AM8/2/13
to openi...@googlegroups.com
Hi,

I used the Openid4Java to implement an OpenID login using Google OpenID. I used the sample consumer class from wiki. The discovery URL is: "https://www.google.com/accounts/o8/ud". But the code throws the following exception:

org.openid4java.discovery.DiscoveryException: 0x601: GET failed on https://www.google.com/accounts/o8/ud Received status code: 400

I used the same code to test with myopenid.com. It was okay.

Any suggestion will be highly appreciated.

Thanks in advance.

Ripul


Christophe Levesque

unread,
Aug 3, 2013, 2:28:44 PM8/3/13
to openi...@googlegroups.com
I believe the correct discovery URL is https://www.google.com/accounts/o8/idhttps://www.google.com/accounts/o8/ud is the actual URL of the OpenID endpoint (!= identifier).




Ripul


--
You received this message because you are subscribed to the Google Groups "OpenID4Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openid4java...@googlegroups.com.
To post to this group, send email to openi...@googlegroups.com.
Visit this group at http://groups.google.com/group/openid4java.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages