asp.net mvc 4 - Using form Authentication and Basic Authentication Authorization in Web Api -


i have built mobile app using asp.net web api. authentication done using basic http authorization filter.now client want app manage mvc web application. added authorization web application using form authentication , membership provider allow me log in.

but problem when made ajax call web api function decorated basic authentication authentication through web application. web application still ask me put password when log in.

please want know if there way authorization can done @ once when use form authentication [authorize] on page. appreciated.

i have written here:

http://leastprivilege.com/2012/10/24/extensions-to-the-web-apimvc-formsbasic-auth-sample-claims-transformation-and-ajax/

also make sure read previous post well.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -