Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSingle Sign On with Smarter TrackSingle Sign On with Smarter Track
Previous
 
Next
New Post
9/6/2014 1:24 PM
 

Has anyone encountered this scenario in DNN 7 and SmarterTrack Enterprise 10.1:

SSO is implemented following Santiago's step by step instructions. However I've been spending a lot of time trying to figure out the following caveats:

(1) Once Joe goes to SmarterTrack after being authenticated on DNN, he can successfully see the landing page with "Home", "Knowledge Base", "News", "Tickets" and "Community" and his name shows at the top right corner as being authenticated. The My Settings link also works well and he's authenticated. However, if you click on Joe's name and hit Management Interface, a new window/tab opens and now Joe is no longer authenticated. The "Login to SmarterTrack" dialog shows and he's forced to login.

(2) Now it gets real ugly because Joe cannot login to SmarterTrack (see #3 below) and we are forced to login using another account that is not flagged to use SSO (the main admin account). If we try to login with Joe's credentials problem #3 happens.

(3) If Joe goes to SmarterTrack before going to DNN, the normal SmarterTrack login dialog show up but Joe is unable to login at all. After typing in his username and password and hitting "Login" at the dialog, the Login button turns into a "Please Wait" and never comes back. Joe is forced to login to DNN first then go to SmarterTrack. I've checked the WebServiceURL in Smartertrack login provider and it looks good. It's http://www.MyDnnSite/Login.aspx and that URL works fine when you navigate to it. I think SmarterTrack was supposed to redirect to that login page (as it correctly does when you click forgot password).

(4) The final problem is not a big deal but I thought I'd post here.  Our SmarterTrack super user (administrator) is NOT setup to use SSO and yet if that user logs into DNN then goes to SmarterTrack the user is already authenticated on SmarterTrack. It's almost if the user flag to accept SSO authenticate is being ignored. Again no biggie on here but just a heads up to the community. 

(5) Another heads up if you happen to make your super user SSO like I tried and you see yourself locked out of SmarterTrack  Management Interface (remember SSO only works for the landing page and account setup) due to all the problems above, you can go to SmarterTrack database, open st_Users table and change AuthenticationType back to 0 (normal) as opposed to 2 (SSO). I figured this out after having to re-install SmarterTrack due to the lack of non-SSO users that could login into the Management Interface. 

I'd appreciate if anyone out there has a solution for these, especially #s 1, 2 and 3.

 
New Post
2/4/2015 9:54 PM
 
Marcio, did you ever get any further with this? I am stuck in the exact same spot. I cannot get the client/Agent login to transition to the Management Interface of SmarterTrack. Same as you describe below; a) login to SmarterTrack first and it just spins with Please Wait..., b) login in to DNN first, go to SmarterTrack and the front-end works, but try switching to the Management Interface and you are present with the SmarterTrack login page and you cannot login. I have been able to get it to throw and error which is logged in SmarterTrack /App_Data/Logs/yyyy.mm.dd-Error.log:

--.

System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:

[ error log then dumps the HTML of the entire DNN login page ]

--.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SmarterTrack.HelperClasses.LoginProviderProxy.SmarterTrackInterop.Authenticate(ExternalLoginProviderInputs inputs)
at SmarterTrack.HelperClasses.Security.UserBase.Login(HttpContext context, String Username, String Password, Boolean isPersistent, String& Message)


=====================
[2015-02-04 8:47:18 PM]
Agent: [username/email] ([Full Name])

Unhandled error
- Page: [http://support.thedomain.com/Login.aspx]
- Referrer: [http://support.thedomain.com/Login.aspx]

- User Agent: [Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36] - IP: [192.241.63.162]
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at SmarterTrack.HelperClasses.Security.UserBase.Login(HttpContext context, String Username, String Password, Boolean isPersistent, String& Message)
at SmarterTrack.MRS.Login.btnLogin_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
New Post
2/4/2015 10:02 PM
 
Note, in my post above I forgot to include that I am using DNN 7.03.04 and SmarterTrack 10.4.x. Both DNN and ST have had very little usage or configuration/setup changes away from the defaults beyond the efforts to get this SSO thing working.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSingle Sign On with Smarter TrackSingle Sign On with Smarter Track


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out