# Authentication

> How an app checks who you are, often with a password or a phone.

**Field:** Software Development  
**Category:** Auth  
**Also known as:** AuthN, Login, Sign In, Logging In

## Think of it like

Think of it like showing your ticket at the door. It proves you are who you say.

## Definition

Authentication is how an app checks who you are. You prove it with something you know, like a password, or something you have, like a phone. Once you pass, the app lets you in as that person. It answers one question: who is this? What you are then allowed to do is a separate step, called authorization.

## Example

Emma types her email and password. The app checks them against its records, and she is logged in as Emma.

## Why it matters

Your mail, your money and your chats are safe only if the app knows who is asking.

## Common mistake

Mixing it up with authorization. Logging in says who you are, not what you may do.

## Three principles

- **Who are you?.** The only question it asks.
- **Prove it.** Something you know or have.
- **Comes first.** Before any permission check.

## Related terms

- [Authorization](https://learn.benibix.com/term/development/authorization)
- [Password Hashing](https://learn.benibix.com/term/development/password-hashing)
- [Multi-Factor Authentication (MFA)](https://learn.benibix.com/term/development/multi-factor-authentication)
- [Session (Web)](https://learn.benibix.com/term/development/session)

## Told apart from

- [Authentication vs Authorization](https://learn.benibix.com/compare/authentication-vs-authorization): Authentication checks who you are, and authorization decides what you may do. Logging in with a password is the first. Being let in to delete a post, or not, is the second. The check of who you are always comes first. An app cannot decide what you may do before it knows who you are.

---

Source: https://learn.benibix.com/term/development/authentication
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
