I created a ReST API using Springboot and deployed it in ECS tasks.
For API client authorization, I have used Cognito Userpool. A client can register with /regi
/regi