Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Not getting user info from OpenID View modes: 
User avatar
Member
Member
dford-catapultrpm - 8/19/2013 10:50:18 AM
   
Not getting user info from OpenID
I am trying to implement the Open ID web part with Google authentication. It seems like it works in that i can see a new user added with some encoded username. However, the name and email address are not filled in. Email is black and the name is the same as the encoded username that is auto generated. I'm not sure what i'm doing wrong. I have Full Name and Email set as required in the web part settings. What else should I look at?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/21/2013 5:35:02 AM
   
RE:Not getting user info from OpenID
Hello Dave,

OpenID logon web part is not designed for getting any additional data about users. If you need to modify the web part code to fit your needs, I would suggest looking at the following section in Developer's Guide - Modifying the code of standard web parts.

Best regards,
Filip Ligac

User avatar
Member
Member
dford-catapultrpm - 8/21/2013 8:06:31 AM
   
RE:Not getting user info from OpenID
I don't understand. There is a section in the web part where i can set which user information is required for a new user. This section includes Full Name and Email.

Also, I am looking at the web part code and i see a section where it requests data from the OpenID provider and uses it to create a new user.

It seems like the web part should be creating new users and populating their name and email with data from the OpenID provider.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/26/2013 1:56:03 AM
   
RE:Not getting user info from OpenID
Hi Dave,

If you need to have more data about the user before his account is created, you also need to specify Required user data page in Site Manager -> Settings -> Security & Membership -> Authentication -> OpenID according to Developer's Guide - OpenID settings which represents URL where user is redirected after trying to create a new account to fill additional data. It cannot be created automatically because each OpenID provider has a different API.

Best regards,
Filip Ligac

User avatar
Member
Member
dford-catapultrpm - 8/26/2013 7:41:40 AM
   
RE:Not getting user info from OpenID
Ok, i understand that the web part does not have the functionality i'm looking for. If i want that functionality i will need to edit the code. Is it possible to edit the CMSOpenIDHelper and if so, where is the file located?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/28/2013 8:10:09 AM
   
RE:Not getting user info from OpenID
Hi Dave,

Regrettably, it is not possible to modify CMSOpenIDHelper without the source code license. It is added as a precompiled .dll library in a standard Kentico CMS project.

Best regards,
Filip Ligac