LiveID website quirks

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/8/2010 11:36:51 AM
Gravatar
Total Posts 13

LiveID integration quirks

 

Hello,

I've been experiencing a problem with LiveID in MojoPortal.  My site is LiveID ONLY, don't know if that has anything to do with it.

When clicking the emailed link for email verification, I'm taken to the site and it instructs me to "Sign In".  The problem is that MojoPortal thinks I'm signed out but Windows LiveID thinks I'm signed in.  The only way to fix it is to attempt to sign out of Windows LiveID and then, maybe, reload the site - I don't know, it's very awkward.

I'm logging in to mojoportal.com with LiveID too, but I didn't have the same experience.  Is there a hotfix?  Is it related to the fact that I'm only using this one method of authentication verses the several options that mojoportal.com offers?

It's currently running on Windows 2008 R2 with "2.3.3.9 MSSQL"

Thanks!

4/8/2010 2:39:00 PM
Gravatar
Total Posts 18439

Re: LiveID website quirks

Hi Jason,

Thanks for the bug report.

I was able to replicate this issue on my local machine and fix it, so this will be fixed in the next release.

If the user is signed into windows live for the site when they click the email confirmation link, it will go ahead and sign the user into mojoportal.

Best,

Joe

4/8/2010 7:59:01 PM
Gravatar
Total Posts 13

Re: LiveID website quirks

Hi Joe,

Thanks, that's great!

Given that that was a real bug, I'll try these too:

When attempting to sign-out, two things go wrong (maybe):

1) the logoff.aspx embedded comment suggests that the user should be directed to the home page, but instead the browser is redirected, in full, to the live.com site ...

2) And on that live.com page, I consistently get an error saying:

Couldn't sign you out

We couldn't sign you out because your browser is blocking cookies. To sign out, close all of your browser windows.

To keep this from happening again, change your browser's settings to allow cookies. If you don't know how to do that, see your browser's help.

I think they are related - that for LiveID, signing out involves redirecting to their logout page which should, upon success, forward back to the home page.  Then, since the logout is unsuccessful on live.com, they show the error instead of redirecting you.

I've been getting this error with any LiveID site signout now, about since I started using mojoPortal.  My browser is not blocking cookies.  Both IE and Firefox.  Could mojoPortal be mishandling the "broadcast" sign-out message sent (through the browser, I believe) to the various sites I've logged into recently?

Otherwise, I'm stumped.

4/9/2010 9:59:01 AM
Gravatar
Total Posts 18439

Re: LiveID website quirks

Hi Jason,

Sorry but I cannot replicate the problem you describe, yes it redirects to the live site but then the live site logs you out by clearing your cookie and then redirects back to the root of your web site.

The error message is very clear, the live site is not able to clear the cookie, therefore it shows you this message instead of redirecting back to the site. Possibly you have something blocking some cookies that you don't know about, things like browser plugins and toolbars often have things like that.

I would try using other machines and see if it is a machine specific problem.

Hope it helps,

Joe

4/11/2010 3:02:56 AM
Gravatar
Total Posts 13

Re: LiveID website quirks

Ok.

For the original problem.  Is there a work-around to make it work sooner?  I'm nervous about doing the full upgrade to the next version after I've done quite a few down-and-dirty customizations.

Thanks.

4/11/2010 7:57:30 AM
Gravatar
Total Posts 18439

Re: LiveID website quirks

Hi Jason,

You should not make changes to mojoPortal code, if you fork it you own your fork and there is nothing I can do to support your forked version nor do I want to use my time supporting it.

The best way to work with mojoPortal source code is to work from svn trunk so you can get my updates without having to wait for releases, you just do svn update, rebuild the solution and visit the setup page. All customization should be in external projects of your own. 

You can possibly get the latest version from svn trunk and backport the code changes from the Web/ConfirmRegistration.aspx.cs, but if you have "customized" mojoportal code you are on the wrong path. Please don't ever report any bugs about your custom version unless you verify the same bug exists in the official version. 

Best,

Joe

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