You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When accessing an unprotected endpoint such as http://localhost:3978/api/gender, the following message is displayed:
dbug: DentallApp.Extensions.AuthenticationJwtBearer+CustomJwtBearerHandler[9]
AuthenticationScheme: Bearer was not authenticated.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
This should not be displayed because at no point is the Authorization header included in the HTTP request, i.e. the Bearer does not actually provide any access token.
This is strange behavior, as this does not impair the operation of the application. An important detail is that this message is only displayed in development mode.
If we change ASPNETCORE_ENVIRONMENT to Production, the message disappears.
When accessing an unprotected endpoint such as
http://localhost:3978/api/gender
, the following message is displayed:This should not be displayed because at no point is the Authorization header included in the HTTP request, i.e. the Bearer does not actually provide any access token.
This is strange behavior, as this does not impair the operation of the application. An important detail is that this message is only displayed in development mode.
If we change
ASPNETCORE_ENVIRONMENT
to Production, the message disappears.PD: This behavior arose from PR #136.
The text was updated successfully, but these errors were encountered: