[4871] OpenID doesn't work with Google

Started by Orstio, July 12, 2009, 08:13:41 AM

Previous topic - Next topic

Orstio

QuoteThe requested identifier did not return the proper information.

That's what happens when I use my Google URL set up for my OpenID to try to login.

Orstio

Yep, doesn't work with Yahoo OpenID either.

karlbenson

I think its related to http://dev.simplemachines.org/mantis/view.php?id=3034 (private, but you should still be able to see it orstio)

It appears smf currently only supports Open Id v1.1
Whereas several sites inc Google/Yahoo support Open Id v2

Which includes that our open id doesn't support https://

Orstio

quote]Access Denied. ;)

The Yahoo OpenID is https, but the Google one is not.

karlbenson

Ortsio, this may now be fixed in the svn version as Winrules has committed a fix for the bug I mentioned earlier.

pjrobertson

Is there any news on this?

I've just been trying to get it to work on a test forum, but can't login with google

Arantor


pjrobertson

#7
Yep, that's what I've just installed - literally a few hours ago. Using google's URL:
hxxp:www.google.com/accounts/o8/id [nonactive]

I get the error: "The requested identifier did not return the proper information."

Edit:
If you go to hxxp:openid-provider.appspot.com/ [nonactive] you can get a personally generated ID, but still, signing up gives a database error

Orstio

Not solved at all then.  Can you also confirm it is still broken with Yahoo OpenID?

pjrobertson

Nope, doesn't work either. I get this message with yahoo OpenID:

The database value you're trying to insert does not exist: email_address

perplexed

I just got my first one of these today.  Upgraded to 2.0 RC2 yesterday. The message is in the error log

Quote

http://www.mysite.com/forum/index.php?action=login2

The requested identifier did not return the proper information 



GazOutEast

#11
I'm getting around 200 errors per day in the log on a site with less than 100 members (SMF 2.0 RC2)

Quote

Type of error : general

http://www.sitename.com/board/index.php?action=login2

The requested identifier did not return the proper information.


I'll have to assume that it's related to the OpenID system then?  Was I imagining it when I thought I saw a way in admin to switch off OpenID so I can test if that's the cause?

Gaz


Edit: Found it - Admin - Registration - Settings
Have disabled OpenID registration, will monitor it for a few days to see if the errors stop (or reduce).
I have 20:20 vision - I can see anything bigger than 20" x 20"

Arantor

You won't get the error at all if OpenID is disabled. But that's something we're looking at.

GazOutEast

Thanks Arantor - so far, so good - the error message hasn't re-occured since I disable Open-ID (just hope none of my members were using it).

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

gjoseph

Has there been any progress on this ?
The way I understand it, Google has ONE single OpenID url, which would be hxxps://www.google.com/accounts/o8/id - tried this, tried [email protected] and hxxp://[email protected]/, all of which returned the same "The requested identifier did not return the proper information." error message. Am I missing something? Is there anything else I can try or should look at to fix this ?

Using 2.0RC3, and unfortunately, I can't view the bug report mentioned earlier.


Norv

Thank you for the acknowledgement and information.
I think it may be worth testing on the latest svn/latest build, I will do so as soon as possible, unless somebody else gets to it. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Dharshan

I have 39 pages in my error log with this error. and yes i have open ID enabled. does any one know whether this has been fixed?
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Joshua Dickerson

Has this been fixed? If not, has it been tracked?
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

emanuele

As far as I can see it doesn't seem to be fixed and I can't find it tracked.

It fails here:
// Some OpenID servers have strange but still valid HTML which makes our job hard.
if (preg_match_all('~<link([\s\S]*?)/?>~i', $webdata, $link_matches) == 0)
fatal_lang_error('openid_server_bad_response');


google's response doesn't contain any <link>, it is in the form:
<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
  <XRD>
  <Service priority="0">
  <Type>http://specs.openid.net/auth/2.0/server</Type>
  <Type>http://openid.net/srv/ax/1.0</Type>
  <Type>http://specs.openid.net/extensions/ui/1.0/mode/popup</Type>
  <Type>http://specs.openid.net/extensions/ui/1.0/icon</Type>
  <Type>http://specs.openid.net/extensions/pape/1.0</Type>
  <URI>https://www.google.com/accounts/o8/ud</URI>
  </Service>
  </XRD>
</xrds:XRDS>


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

nend

The reason there is no <link rel=blah blah blah is because the format changed from HTML to XML in 2.0. Also compatibility with older versions of OpenID is not required. Google and Yahoo dropped support for older versions of OpenID.

What needs to be done is update the code to be compatible with OpenID 2.0 standards while keeping support for older 1.x servers also.

Advertisement: