ratsume / lightopenid

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

discovery of gmail accounts #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

If I use a yahoo account, the discovery method ends up redirecting me to a 
yahoo login page. If I try a gmail.com account, I get this:

Fatal error: Uncaught exception 'ErrorException' with message 'No servers 
found!' in C:\inetpub\GlobalFit\openID\gfOpenID.php:472
Stack trace:
#0 C:\inetpub\GlobalFit\openID\lightopenid\openid.php(596): gfOpenID->discover()
#1 C:\inetpub\GlobalFit\openID\gfOpenID.php(23): 
LightOpenID->authUrl('xxxx@gmail...')

Original issue reported on code.google.com by ehert...@globalfit.com on 10 Mar 2011 at 3:58

GoogleCodeExporter commented 8 years ago
A mail address is not an openid identifier. If it works at all, it's pure 
coincidence.

Basically, typing user@domain.com results in a request to domain.com. If it 
doesn't contain information about an OpenID server, LightOpenID can't do 
anything with it.

It just happens that yahoo returns this information, and gmail doesn't.

It's not a bug, therefore I can't fix it.

Original comment by mewp...@gmail.com on 10 Mar 2011 at 6:02