Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

firebase-auth-basics

Skill by pleaseai

Guides setup and use of Firebase Authentication for apps that need user sign-in, user management, or secure data access. It covers enabling providers, client SDK setup, and auth rules for Firestore and Storage.

  • Score 67
  • 17 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install firebase-auth-basics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pleaseai/claude-code-plugins /tmp/claude-code-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-plugins/plugins/firebase/.agents/skills/firebase-auth-basics ~/.claude/skills/firebase-auth-basics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install firebase-auth-basics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for setting up and using Firebase Authentication. It explains core concepts such as users identified by a unique uid, identity providers, and ID and refresh tokens. It describes how to enable sign-in methods through a firebase.json auth block with the Firebase CLI, or through the Firebase Console for other providers.

The skill points to separate reference guides for Web, Flutter, Android (Kotlin) and iOS (Swift) client setup. It also covers securing Firestore and Storage data with request.auth in security rules. It is meant for developers whose app needs user sign-in, user management, or access control based on auth rules. The source recommends Google Sign In as a secure default provider.

Written from the project's SKILL.md and checked against it.

What it can do

  • Enable auth via CLIConfigures email/password, anonymous and Google Sign In providers in firebase.json.
  • Deploy auth configurationDeploys the auth block to Firebase with the auth-only deploy command.
  • Console provider setupWalks through enabling other sign-in providers in the Firebase Console.
  • Identity provider overviewExplains email, federated, phone, anonymous and custom sign-in options.
  • Token guidanceDescribes ID tokens and refresh tokens used to identify users.
  • Client SDK referencesPoints to setup guides for Web, Flutter, Android and iOS clients.
  • Security rules with request.authShows how to secure Firestore and Storage data using auth rules.

What you need

  • A Firebase project
  • Firebase CLI, run through npx firebase-tools
  • Firebase CLI login

Try asking

  • Set up Firebase Auth with email and Google sign-in in my web app
  • Write Firestore security rules that only let signed-in users read their data
  • Add anonymous sign-in to my Flutter app with Firebase Auth

Good to know

  • The CLI can only enable Google Sign In, anonymous auth and email/password. Other providers need the Console.
  • Port numbers must not be included in authorizedRedirectUris, or the deploy fails with INVALID_AUTHORIZED_DOMAIN.
  • Auth changes in firebase.json take effect only after deploying the auth configuration.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/firebase/.agents/skills/firebase-auth-basics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to firebase-auth-basics

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

firebase-auth-basics: common questions

Which sign-in providers can be enabled from the command line?

Only Google Sign In, anonymous auth and email/password can be enabled via the CLI. Other providers must be enabled in the Firebase Console.

Why does Google Sign-In close with unauthorized-domain on localhost?

The domain is not authorized. The source says to add http://localhost to authorizedRedirectUris in firebase.json, without a port number, or to add localhost to the Authorized Domains list in the Console.

How long does a Firebase ID token last?

The source says an ID token is short-lived and lasts 1 hour. A longer-lived refresh token is used to get new ID tokens.

How do I install firebase-auth-basics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is firebase-auth-basics free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is firebase-auth-basics safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to firebase-auth-basics?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

firebase-auth-basics Install

Add to stack

Loading.