In this liveProject, you’ll implement authentication using JSON Web Tokens (JWT) for a REST API. You’ll set up sign-up, login, and logout functionality, as well as authenticated retrieval of user details. You’ll even generate the skeleton implementation of the API, then test your code with Postman.
This project is designed for learning purposes and is not a complete, production-ready application or solution.
This liveProject is for developers who know the basics of REST API development, and who want to add JWT authentication to their toolbox. To begin this liveProject, you will need to be familiar with:
- Intermediate Java
- Basics of Java Spring
- Basics of SQL and JDBC
- Basics of Linux and command line
- Java IDEs such as Eclipse or IntelliJ IDEA
- Testing APIs via PostMan
you will learn
In this liveProject, you’ll learn reliable techniques for securing any REST API with JWT.
- Understanding the Procurement API specified in Open API Specification 3.0 using Swagger
- Setting up the environment to run the reference API implementation provided using Java
- Testing the basic functionality of the reference API implementation using Postman
- Adding an authentication layer using JSON Web Tokens (JWT)
- Identifying the implementation vulnerabilities
- Fixing the Java code to remediate the vulnerabilities identified
- Retesting the new code for functionality using Postman