Microservice to use JWT for persisting IBM i authentication token

Job ID: 32670762

Budget: $30 – $250 USD

Create a microservice using either Spring Boot (latest) or Quarkus (latest) that a client can send (POST) their IBM i username and password to and the service will then authenticate the user using JTOpen400 (latest) and get a token back. That token will then be persisted in a custom JWT property "authToken" together with the default expiration from the IBM i token. Send back the response to client. The client should then be able to connect (GET) to another REST endpoint with an Authentication-HTTP-header with the JWT token and the service should then extract the token and re-authenticate the user against the IBM i and then perform some kind of IBM i service.

For any client request the service should respond with 200 OK when success and 401 if username and password is incorrect and a 400 in other cases where client provided wrong content. 500 for all server errors.

Provide also Postman collection with the request types that can test the REST endpoints.