Base solution for your next web application
Open Closed

Token Based Auth on BoilerPlate Framework #774

ernblghan created


According to your answer about below links question I try to use Token Based Auth.

But We dont use module zero, just ABP. In Initialize method, you set HttpConfigurations with this code.

Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(new HostAuthenticationFilter("Bearer"));

But i cannot register HttpConfigurations with this code. How can i resolve that.


1 Answer(s)
  • 0
    hikalkan created
    Support Team


    It's not related to AspNet Zero, for your problem.

    AbpWebApi() is an extension method defined in Abp.Configuration.Startup namespace. Have you added this namespace to your class? If there is no such a method, you may using very old Abp version.

    Also, are you using ASP.NET Identity (<a class="postlink" href=""></a>)? Our solution is a bit based on it.