Author: gdillen | Posted on: 8/30/2010 4:13:10 AM | Views : 310

After searching the web I'm completely confused as to what my options are for using the AuthenticationService from a pure html page (with JavaScript, so NO asp.net webform and NO ScriptManager. I didn't found any clear code snippets for my problem. What I found where some 'pieces' of the puzzle.

Option 1
using an Authentication.svc file (see hereunder), adapting web.config and using javascript to use the Sys.Services.AuthenticationService methods. However by just using the Sys.Services.AuthenticationService.login method as-is (with the 8 parameters) the system gives a 500 error.

Authentication.svc

<%@ ServiceHost Language="C#"
    Service="System.Web.ApplicationServices.AuthenticationService"
    Factory="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>

Option 2
Setting  Sys.Services.Authent ...

Go to the complete details ...