<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1" -->

---
title: Firebase Crash Course (Auth &amp; Firestore) #2 - Email &amp;...
description: A beginner-friendly walkthrough of setting up Firebase email and password authentication in a front-end application. Covers enabling the auth service in the...
canonical: https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Firebase Crash Course (Auth &amp; Firestore) #2 - Email &amp; Password Authentication | daily.dev
og:description: A beginner-friendly walkthrough of setting up Firebase email and password authentication in a front-end application. Covers enabling the auth service in the...
og:url: https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1
og:image: https://api.daily.dev/og/posts/brNoWJkS1.png
og:image:alt: Firebase Crash Course (Auth &amp; Firestore) #2 - Email &amp; Password Authentication
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Firebase Crash Course (Auth & Firestore) #2 - Email & Password Authentication

**[Net Ninja](https://daily.dev/sources/netninja)** · 7 min read · 2 upvotes · 0 comments

## Summary

A beginner-friendly walkthrough of setting up Firebase email and password authentication in a front-end application. Covers enabling the auth service in the Firebase dashboard, initializing it with the Firebase SDK, and implementing sign-up functionality using the createUserWithEmailAndPassword function inside an async try/catch block. Demonstrates how Firebase handles credential verification and returns a JWT, and shows how to retrieve the newly created user object after successful registration.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=laY6fvlwa4c>

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#authentication](https://daily.dev/tags/authentication), [#firebase](https://daily.dev/tags/firebase), [#firestore](https://daily.dev/tags/firestore)

[View this post on daily.dev](https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Firebase Crash Course (Auth & Firestore) #2 - Email & Password Authentication","url":"https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1"},"datePublished":"2026-07-20T08:19:40.765Z","dateModified":"2026-07-20T08:20:00.624Z","description":"A beginner-friendly walkthrough of setting up Firebase email and password authentication in a front-end application. Covers enabling the auth service in the...","image":"https://i.ytimg.com/vi/laY6fvlwa4c/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/laY6fvlwa4c/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Net Ninja","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Net Ninja","logo":"https://media.daily.dev/image/upload/s--IXsAE5jo--/f_auto/v1718348103/logos/netninja","url":"https://daily.dev/sources/netninja"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/firebase-crash-course-auth-firestore-2---email-password-authentication-brnowjks1","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,authentication,firebase,firestore","timeRequired":"PT7M","video":{"@type":"VideoObject","name":"Firebase Crash Course (Auth & Firestore) #2 - Email & Password Authentication","description":"A beginner-friendly walkthrough of setting up Firebase email and password authentication in a front-end application. Covers enabling the auth service in the...","thumbnailUrl":"https://i.ytimg.com/vi/laY6fvlwa4c/sddefault.jpg","uploadDate":"2026-07-20T08:19:40.765Z","duration":"PT7M","url":"https://api.daily.dev/r/brNoWJkS1","embedUrl":"https://www.youtube.com/embed/laY6fvlwa4c"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Net Ninja","item":"https://daily.dev/sources/netninja"},{"@type":"ListItem","position":3,"name":"Firebase Crash Course (Auth & Firestore) #2 - Email & Password Authentication"}]}
```

