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.
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-basicsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins /tmp/claude-code-plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-plugins/plugins/firebase/.agents/skills/firebase-auth-basics ~/.gemini/antigravity-cli/skills/firebase-auth-basicsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install firebase-auth-basics in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
