

Please create a NEW Spring Boot project from scratch, with two test routes that I can use to test the whole thing.

All app users should be authenticated via Firebase Authentication, which should be checked for every route that starts with "/app/". I want all CMS users to be authenticated via Cognito, and this should be checked for every route that starts with "/cms/" (no app users should be able to access those routes!). In my Spring Boot app, there are two types of users: CMS (Content Management System) users and app users. I have a similar problem to the one described in this article. The only thing I need is to check if the Bearer token or JWT is valid. I don't need login and registration as it's handled by the client. I'm looking for someone to add multi-tenant OAuth authentication to my Spring Boot Backend that exposed a rest api for two clients (A web app for the cms and a mobile app for the app users).
