rpx and missing registered user emails

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/20/2010 11:53:34 PM
Gravatar
Total Posts 8

rpx and missing registered user emails

I have set up rpx and it seems to work as far as authenticating the user.  The problem is that it doesn't capture the user's email in the database and since I require email registration confirmation, I get an error as there is no to address.

Does anyone have an idea what I might be missing?  I used the test tool at rpsnow.com and the email is listed in the API response preview.  It just isn't getting persisted to the database.

Thanks for your assistance,

6/21/2010 6:48:44 AM
Gravatar
Total Posts 18439

Re: rpx and missing registered user emails

What version of mojoPortal?

Can you reproduce the problem on this site? We require email confirmation. RPX wraps a lot of services, not all of them provide an email, it should prompt the user for the email if it is not present in the data from RPX.

Best,

Joe

6/25/2010 12:03:16 AM
Gravatar
Total Posts 5

Re: rpx and missing registered user emails

Hi Joe,

Thanks for your response.  I did some testing on your site to better understand the behavior.  Here's what I found.

First I registered directly through Windows Live.  Once logged in to Windows Live I was returned to mojoPortal and presented a page that stated I had been validated but additional information is needed (UserID, Email).  These fields were blank.  After filling these in and clicking create account, I was taken to the page that says an confirmation email was sent.

Second I Used rpx to register with a different windows live account.  This time I was presented the page requesting userid and password.  I went straight to the confirmation email page.

It appears that the windows live direct service is not returning the email, while the Windows Live through rpx is doing so.

6/25/2010 6:00:21 AM
Gravatar
Total Posts 18439

Re: rpx and missing registered user emails

Ok, I'm confused, are you still having a problem with RPX or not?

If RPX provides the email then we don't need to prompt for it, but RPX does not always provide it, it may provide it for Windows Live even if Windows Live direct authentication does not, but for some other providers like Facebook or Twitter it may be different and it may not be provided by the RPX service. If it is not provided it should prompt the user, but in no case should it create a user in the db without an email address. If you identify steps for that to happen I will investigate it as a bug.

Best,

Joe

6/27/2010 12:52:31 PM
Gravatar
Total Posts 5

Re: rpx and missing registered user emails

Joe,

Here's some additional info.  I registered directly from windows live and did not get an email.  The page prompted me for userid and email as you mentioned.  I entered this information and received the confirmation email and all worked according to what is expected.

 

When using windows live via RXP, I have a different experience.  Here are the steps.

1. I give rpx/windows live approval to send information to my site.

2. I return to a screen that has

___________________________________________________________________

Register on this site with your Windows Live account.

Open ID http://cid -xxxxxxxxxxx.spaces.live.com/

E-mail myemail@live.com

Create Account

We were able to validate your Open ID Account but some additional information is required to register on this site.

__________________________________________________________________________

3. Email is listed here so I click on create account and get the following screen. 

4. The next return screen adds the following message.

This site requires confirmation of a valid email address to sign in after registering. An email message has been sent to the email address you provided. Click the link in that email message to confirm your account. After confirmation, you will be allowed to sign in to the site.

All seems fine up to this point.  However.  I find the following in the system log:

http://itvsdev.info/ConfirmRegistration.aspx?ticket=e17fbf3a-7f0e-43d9-ba9c-c0d8e4ef00ac
2010-06-27 10:24:30,592 INFO mojoPortal.Web.UI.OpenIdRpxHandlerPage - User myemail@live.com tried to login but email address is not confirmed.
2010-06-27 10:25:19,952 INFO DotNetOpenAuth.Messaging.Channel - Scanning incoming request for messages: https://itvsdev.info/Secure/Login.aspx
2010-06-27 10:44:25,988 ERROR mojoPortal.Net.Email - no valid to address was provided so not sending message Thank You for Registering with QPASS!

Your Registration will be confirmed by clicking the link below to unlock your account.
This is to prevent other people from Registering with your email address.


http://itvsdev.info/ConfirmRegistration.aspx?ticket=6c496c90-591e-432f-a2d7-fb28f4faf076
2010-06-27 10:44:25,988 INFO mojoPortal.Web.UI.OpenIdRpxHandlerPage - User myemail@live.com tried to login but email address is not confirmed.
2010-06-27 10:46:47,626 INFO DotNetOpenAuth.Messaging.Channel - Scanning incoming request for messages: https://itvsdev.info/Secure/Login.aspx

Further, when I go to the member list, the user exists but does not have an email. 

So to summarize, when using windows live id via RPX an email comes back and shows up uneditable on the screen.  An account get created, but the email is empty.

I hope this makes sense.

Thanks,

Bruce
 

 

 

 

6/28/2010 6:09:52 AM
Gravatar
Total Posts 18439

Re: rpx and missing registered user emails

Hi Bruce,

Thanks for the clarification. I will investigate this and post again afterwards.

Best,

Joe

6/28/2010 9:12:15 AM
Gravatar
Total Posts 18439

Re: rpx and missing registered user emails

Hi Bruce,

After looking into this, I believe it was fixed as part of fixing this bug, the fix was after the 2.3.4.5 release, but it will be fixed in the next release and is fixed in the source code repository.

Thanks,

Joe

6/28/2010 10:04:43 AM
Gravatar
Total Posts 5

Re: rpx and missing registered user emails

thanks Joe,

Bruce

You must sign in to post in the forums. This thread is closed to new posts.