Cannot login after registering Windows Live Secret Key less than 16 characters

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.
7/27/2009 8:33:40 AM
Gravatar
Total Posts 8

Cannot login after registering Windows Live Secret Key less than 16 characters

 

Hi, I have to report a possible bug found in mojoportal Version 2.3.10.

In Admin Panel/Site Settings/Security/Windows Live, you can register a Windows Live Secret Key whose lenght is less than 16 characters (the lenght is not controlled).

At the next Login, mojoportal "crash" with the following error:

"Error: Secret: Secret key is expected to be longer than 16 characters: 7". (where 7 is the lenght of my wrong Secret key)

The only way to solve the problem is to open the database and manually correct (or to empty) the WindowsLiveKey field in dbo.mp_sites table.

Simply disabling the feature in web.config (EnableWindowsLiveAuthentication = false) or in dbo.mp_sites table (AllowWindowsLiveAuth) takes no effect.

Thanks

 

7/27/2009 11:40:41 AM
Gravatar
Total Posts 18439

Re: Cannot login after registering Windows Live Secret Key less than 16 characters

Hi,

Thanks for the bug report. I will see about adding some validation there for the next release.

Best,

Joe 

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