---
title: "Discussion on \"Authentication with multiple IDs in AdonisJS 5\" | Hashnode"
description: "Discussion on \"Authentication with multiple IDs in AdonisJS 5\". 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 unique. However, users sometimes prefer to log in to their accounts with any of the un..."
url: "https://hashnode.com/posts/authentication-with-multiple-ids-in-adonisjs-5/600ca1983b349540feb9e1ee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Authentication with multiple IDs in AdonisJS 5](https://mezie.hashnode.dev/authentication-with-multiple-ids-in-adonisjs-5?utm_source=hashnode&utm_medium=feed)

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 unique. However, users sometimes prefer to log in to their accounts with any of the un...

Jan 23, 2021 · 3 min read · mezie.hashnode.dev  
Updated Oct 1, 2024  
Read the article

-   [#adonisjs](https://hashnode.com/tag/adonisjs)
-   [#authentication](https://hashnode.com/tag/authentication)

## Written by

[Chimezie Enyinnaya](https://hashnode.com/@mezie)

@mezie · Lagos, Nigeria

  
[View profile](https://hashnode.com/@mezie)

Software developer and instructor

Software developer and instructor

## Responses

Markdown supported · ⌘↵ to post

[Chimezie Enyinnaya](https://hashnode.com/@mezie)

[Oct 3, 2024](https://hashnode.com/posts/authentication-with-multiple-ids-in-adonisjs-5/600ca1983b349540feb9e1ee/comment/66fe6ba054792e30bd9238f8)

Second

[Chimezie Enyinnaya](https://hashnode.com/@mezie)

[Oct 3, 2024](https://hashnode.com/posts/authentication-with-multiple-ids-in-adonisjs-5/600ca1983b349540feb9e1ee/comment/66fe5d11ddfddbf9f45c156f)

First.
