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

Access API Endpoint in secure way #10732


User avatar
0
SRTMDEV created

Prerequisites

Please answer the following questions before submitting an issue.

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

Hello,

I am looking for solutions where we have a requirement like access the endpoint by generating the custom JWT Token, different from ABP token, using properties like User email, tenantId, and some related to our project.

At present, the endpoint is publicly accessible using the "AbpAllowAnonymous" attributes. The endpoint is publicly accessible regardless of whether we use [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)] or [Authorize].

we don't want to use "[AbpAuthorize]" for some Endpoint.

Thanks SG


2 Answer(s)