Emerging network technologies that will be developed and implemented in the next generation to enhance computing facilities are Wireless Sensor Networks (WSNs) and Software Defined Networking (SDN). Since micro-electromechanical system (MEMS) technology progress, WSNs become more and more popular since they offer realistic and affordable real- time monitoring options. As a result, as network traffic and the variety of sensor nodes rise, the SDN paradigm is being integrated into WSN to avoid a performance bottleneck with traditional network design. Since the sensor nodes are dispersed throughout a hostile environment and they communicate over a public channel, the information shared between entities is vulnerable to attack. The proposed protocol illustrated why it made sense to provide network administration and control responsibilities to centralized SDN controller nodes. We thus offer the Lightweight Authentication and Key Agreement Protocol (LAKP) for SDN-enabled WSNs to protect entity communication. Furthermore, we demonstrate that the suggested solution avoids known security vulnerabilities by doing both formal and informal security examinations using the Scyther tool and Burrows-Abadi-Needham (BAN) logic.