Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Dynamic Web API and authentification #1223


User avatar
0
guillaumej created

Hello,

I'd like to use the Dynamic Web API Layer iwith Basic authentication, so that it can be called from anywhere.

Can Iuse this? (of course, afeter <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/OWIN">http://www.aspnetboilerplate.com/Pages/Documents/OWIN</a> ).

I was wondering if somebody has already done it ?


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    If you are asking for module-zero template, have you searched basic auth with asp.net identity? And why don't you use token based auth which is better in most cases (<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template#token-based-authentication">http://www.aspnetboilerplate.com/Pages/ ... entication</a>)

  • User Avatar
    0
    guillaumej created

    I already implemented basic auth in a regular webapi project, but I'm not 100% safe in my knowledge. I'll try first the way you demonstrated in your very nice documentation.

    Thanks for your answer.