OpenID does not recognize the mail-address

Permalink
I am trying to use OpenID in C5. I enabled Open-ID in the Dashboard and created a user with the same email as in my Yahoo-Account.

When I want to log in I type in the address from Yahoo into the Open-ID-field and log in there. When I am back on the C5-site again, C5 can not recognize me and instead it will create a new user. When I type the mail-address from the above account, C5 tell's me that this mail-address already exists and that I have to use an other address - which in a way is OK since it want's to create a new user, but that is not my intention...

When I change the uID in the UserOpenIDs-Table to the "right" user it works like a charm.

As I understand C5 first tries to find the OpenID in the database. If not found it tries to find a user by the mail-address and if this is not successful it creates a new user.

How can I debug the information which is send back from Yahoo to see if there is information missing?

Or am I missing something?

 
ryan replied on at Permalink Reply
ryan
Sounds like your using it appropriately, here's how you'd go about debugging the response:

you can add:
Log::addEntry(var_export($response,true));


to the complete_openid() function in:

/concrete/controllers/login.php (around line 70)

That log function will record stuff in the
dashboard -> Reports -> Logs section of your dashboard
necsus replied on at Permalink Reply
Thanks for our help ryan.

The log shows me, that Yahoo only returns the ID. I tried another provider and here is the same "problem". I don't get a mail-address but only the ID. So I guess this is the standard.

I need another option: Connecting an existing user to an OpenID. I think the best would be to ask the existing user for their username and their password in this case.

When I have some time left over I will work on this.
utomo replied on at Permalink Reply
Any news on this problems ?
I hope No more problems with open ID

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.