khoanq / jopenid

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

Steam OpenID - openid.invalidate_handle=null #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Steam OpenID for authentication - http://steamcommunity.com/openid

What is the expected output? What do you see instead?
The existence of a null string where it should be a non-existence value. The 
return string is openid.invalidate_handle=null

Please provide any additional information below.
It fails on the check

        if (request.getParameter("openid.invalidate_handle")!=null)
            throw new OpenIdException("Invalidate handle.");

The invalidate_handle string containing "null" 

Original issue reported on code.google.com by nican...@gmail.com on 2 Jan 2011 at 7:46

GoogleCodeExporter commented 8 years ago
I just hit this issue as well, with Steam. Working around it for now by 
catching the exception and checking the handle value myself, but that is a 
nasty hack.

Original comment by nathan.c...@gmail.com on 15 Jun 2011 at 1:11

GoogleCodeExporter commented 8 years ago
Nevermind... just realized I can't work around it that way. Guess I'm extending 
the class and rewriting the method.

Original comment by nathan.c...@gmail.com on 15 Jun 2011 at 1:15

GoogleCodeExporter commented 8 years ago
Ok, after a bunch more digging and reading up on the openId spec, I've 
determined that this library will not work at all with Steam because it assumes 
that the openId service it is connecting to supports associations, which Steam 
does not; Steam OpenId is fully stateless.

Original comment by nathan.c...@gmail.com on 15 Jun 2011 at 10:07