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
To understand the JWT authentication implementation standard I have tried out Kumuluzee with Microservice 3.3
The sample is working fine with valid JWT token as excepted without issues. But the weird behavior noticed was the target endpoint is still accessible without passing the "Authorization": "Bearer XXXXXX" header. Is there an additional configuration is required to enforce the authorization header mandatory for JWT authentication implementation.
Application Endpoint:
@ApplicationPath("/data")
@LoginConfig(authMethod = "MP-JWT")
@DeclareRoles({"protected"})
public class DemoRestApplication extends Application {
}
The text was updated successfully, but these errors were encountered:
jeevaengg21
changed the title
Microservice - JWT authentication is working with out authorization header
JWT authentication is not denying the request when authorization header is not supplied
Sep 14, 2020
It seems this is the same issue as #12 which was resolved with version v1.1.3.
The current version of KumuluzEE - v3.10.0 uses jwt v1.1.2 where the issue is still present. We are releasing KumuluzEE v3.11.0 which will use the latest version of jwt library v1.1.3.
To understand the JWT authentication implementation standard I have tried out Kumuluzee with Microservice 3.3
The sample is working fine with valid JWT token as excepted without issues. But the weird behavior noticed was the target endpoint is still accessible without passing the "Authorization": "Bearer XXXXXX" header. Is there an additional configuration is required to enforce the authorization header mandatory for JWT authentication implementation.
Application Endpoint:
Kumuluzee config:
The text was updated successfully, but these errors were encountered: