Because authentication strategies are plugins, and because there is no default authentication strategy implemented in Kuzzle, I think we should not default the login strategy to local. Instead, we should make this argument required, and throw a BadRequestError if no strategy is provided (see AuthController:login)
Because authentication strategies are plugins, and because there is no default authentication strategy implemented in Kuzzle, I think we should not default the login strategy to
local
. Instead, we should make this argument required, and throw aBadRequestError
if no strategy is provided (seeAuthController:login
)