This is a migrated thread and some comments may be shown as answers.

Webmethod authentication in ASP.NET Identity

0 Answers 364 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
aspliid
Top achievements
Rank 1
aspliid asked on 08 Mar 2018, 09:48 AM

I am the process of implementing ASP.NET Identity in a Telerik ASP.NET Ajax 2016.1.225 webapplication, due to the client's request for a more modern login (two-factor i.e.)

A few of the comboboxes are using EnableLoadOnDemand, set up with: <WebServiceSettings Method="GetCompanyNames" Path="booker_bestil_service2.aspx" />  

Codebehind signature is:

    [WebMethod(EnableSession = true)]
    public static RadComboBoxData GetCompanyNames(RadComboBoxContext context)

 

After disabling the old formsauthentication, and moving to ASP.NET Identity, this doesn't work. It gives a "Authentication failed", due to the 401 redirect to the login page. Attached is a snip from Fiddler.

How can I setup EnableLoadOnDemand with ASP.NET Identity?

Thanks :-)

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
aspliid
Top achievements
Rank 1
Share this question
or