Single Sign On (again)

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
SteveV
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Thu Nov 03, 2011 11:22 am

Single Sign On (again)

Post by SteveV » Thu Nov 03, 2011 11:54 am

A quick search reveals that this has been asked a number of times and given that it's such a common usage sceneario I'm really surprized that this hasn't been answered in any detail. I'm playing with the trial version and anything that helps QUICKLY prove AbleCommerce's worth and power would be a huge benefit. I'm also guessing the the lack or samples for many recurring use cases is costing Able some lost business. Yeah, it's great that I can wirte some code to make it work, but if 50 devs have had to write similar code it strikes me as pretty silly that there isn't a sample available.

Having said that; does anyone have a sample that shows how to get Single Sign On working using an existing ASP membership provider and role provider?

Thanks -- Steve

SteveV
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Thu Nov 03, 2011 11:22 am

Re: Single Sign On (again)

Post by SteveV » Fri Nov 04, 2011 2:26 pm

Anyone?

Arsen
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Tue Nov 08, 2011 11:02 am

Re: Single Sign On (again)

Post by Arsen » Tue Nov 08, 2011 11:05 am

Agree with you Steve, when you find something please post it here.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Single Sign On (again)

Post by Logan Rhodehamel » Tue Nov 08, 2011 12:24 pm

Hi Steve-

As you are going to find out we didn't consistently utilize the Membership framework with AC7. What you are wanting to do is something we had in mind as a possibility but it was never brought to an officially supported feature. Due to this it was never tested. Others have gone down this path in the past and pointed out some difficulties.

viewtopic.php?f=42&t=14772
viewtopic.php?f=44&t=15631#p67023

I still think it is possible. The latter link is a post directly to what I think is the best advice. You can create a wrapper around our membership provider, use it to call our base methods and also implement your custom functionality. What you are going to find is that we have a few places in our code where we don't invoke membership functions using the Membership framework. It will require some attention to our login/logout scripts to make sure they use the framework rather than invoking our implementation directly. If you want to try down this path and post your obstacles we can keep an eye on this thread and try to assist it along. I think there is enough interest - we may need to improve support for custom membership providers.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply