Currently, My project has a UsernamePasswordAuthentication for the urls that are in /app/* . I wanted a different authentication mechanism (using two custom fields) for all the