Don't ask for Confirmation e-mail when using RPX

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.
8/15/2010 9:41:22 AM
Gravatar
Total Posts 70

Don't ask for Confirmation e-mail when using RPX

Hi Joe, 

Is it possible to "ignore" e-mail confirmation when user registers using RPX?

Something like if  "RPXUserDontNeedEmailConfirmation" then SiSiteUser.ConfirmRegistration(this.registrationConfirmationGuid)

8/15/2010 12:19:48 PM
Gravatar
Total Posts 18439

Re: Don't ask for Confirmation e-mail when using RPX

Hi Bruno,

I think that would defeat the purpose of the validation because we don't always get pre-verified email addresses and in some cases we get no email address at all and have to prompt the user for it.

In the case where we do know that the email provided by RPX is verified we do accept it without doing our own verification. There is an indicator in the data returned from RPX that tells us if the email is verified and we use this to decide whether to send our own verification email.

It varies from one account provider to another whether they provide a verified email address or not, but RPX does tell us if it is verified.

Best,

Joe

8/15/2010 2:25:16 PM
Gravatar
Total Posts 70

Re: Don't ask for Confirmation e-mail when using RPX

Thank you again Joe !!! 

After your post, I debugged the code and found this on OpenIdRpxHandler.aspx.cs, line 511:

 

            //test
            emailIsVerified = false;

 

My RPX e-mail was verified but the above line overwrites emailIsVerified to false !?!? Commenting the line, everything works as expected and my registered user doesn't need to confirm his e-mail !!! Just as I needed !!!

Could you please check it?

8/15/2010 2:33:23 PM
Gravatar
Total Posts 18439

Re: Don't ask for Confirmation e-mail when using RPX

you are right! that is a bug, I must have been distracted and forgot to remove or comment that out after some testing I was doing. Doh! :-D I'm not perfect.

It is fixed in the repository now. I will update this site with a fresh build tomorrow to reduce inconvenience

Thanks for digging into this!

Best,

Joe

8/15/2010 2:46:57 PM
Gravatar
Total Posts 70

Re: Don't ask for Confirmation e-mail when using RPX

Thanks Joe !!! 

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