---
title: "Email"
section: "build-a-backend/auth/concepts"
platforms: ["android", "angular", "flutter", "javascript", "nextjs", "react", "react-native", "swift", "vue"]
gen: 2
last-updated: "2026-03-25T17:40:00.000Z"
url: "https://docs.amplify.aws/react/build-a-backend/auth/concepts/email/"
---

By default Amplify Auth is scaffolded with `email` as the default method for user sign-in.

```ts title="amplify/auth/resource.ts"
import { defineAuth } from "@aws-amplify/backend"

export const auth = defineAuth({
  loginWith: {
    email: true,
  },
})
```

This will configure an `email` attribute that is required for sign-up and cannot be changed. 

## Next steps

- [Learn how to use the `signIn` API](/[platform]/frontend/auth/sign-in/)
- [Learn how to customize emails](/[platform]/build-a-backend/auth/customize-auth-lifecycle/email-customization/)
- [Learn how to configure your auth resource for production workloads](/[platform]/build-a-backend/auth/moving-to-production/)
