Authentication with multiple IDs in AdonisJS 5

Jan 23, 20214 min read

More often than not we would expect users to log in to our application with an ID and a password combination. The ID can be an email address, username, or anything that's unique for that matter. But there are times users would rather prefer to log in...