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

ASPNETZERO running under IIS using Windows Authentication, override passing the token in AbpHttpInterceptor #10187


User avatar
0
Mepgovlic created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • 10
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • core

We would like to run ASPNETZERO under IIS using Windows Authentication, using ADFS or LDAP is not we are trying to achieve. We tried some solutions but they are not complete, the application keeps prompting for login. We need to override passing the token in the file AbpHttpInterceptor, your input is highly appreciated to overide passing the token in the AbpHttpInterceptor.

Best regards, Anas.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Mepgovlic

    You need to create your own interceptor which inherits from AbpHttpInterceptor and then use it in the application instead of AbpHttpInterceptor.

    @Injectable()
    export class MyAbpHttpInterceptor extends AbpHttpInterceptor {
       // override any method here
    }