Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Fb Auth Laravel Package

mortezamasumi/fb-auth

Facebook authentication for Laravel: a small package that wires up the Facebook OAuth login flow so users can sign in with their Facebook account. It provides the redirect and callback handling needed to integrate Facebook login into your app's existing authentication setup.

View on GitHub
Deep Wiki
Context7

mortezamasumi/fb-auth is a Laravel package that simplifies Facebook authentication by providing a lightweight integration layer for the OAuth flow. It helps redirect users to Facebook, handle the callback, and resolve the authenticated profile so you can link it to your application’s user model without repeating boilerplate.

  • Streamlined Facebook OAuth redirect and callback handling
  • Laravel-friendly configuration for Facebook app credentials
  • Resolve Facebook profiles for local account linking
  • Lightweight, framework-native integration
Frequently asked questions about Fb Auth
What is mortezamasumi/fb-auth and what does it do in Laravel?
mortezamasumi/fb-auth is a Laravel package intended to add Facebook OAuth authentication so users can sign in with a Facebook account. The overview says it handles the login flow and app credential configuration to reduce setup work. The technical assessment also references Firebase-backed identity integration, so confirm whether your target flow is Facebook OAuth, Firebase auth, or both before adopting it.
Which Laravel and PHP versions does mortezamasumi/fb-auth support?
The provided material does not list official Laravel or PHP version constraints. Check the package composer.json and README for supported ranges, and confirm whether a CI matrix exists. Pin the package version and validate it against your exact Laravel, PHP, and any Firebase SDK versions before production use.
How do I install and configure fb-auth in a Laravel application?
Install it with Composer, register the service provider if the package does not use Laravel auto-discovery, publish any configuration, and set the required app credentials in your environment file. The technical assessment describes wiring an auth guard and user provider as part of integration. Start in a non-production environment and verify login, logout, token verification, and password reset flows before rolling out.
Does fb-auth replace Laravel's native auth guard and user provider?
The assessment says the package should be treated as an integration adapter around authentication, not as core domain logic. It may wrap, replace, or coexist with Laravel's native guard and provider depending on configuration, but the provided context does not define the exact behavior. Verify this in a proof of concept and keep application-level auth interfaces where possible so the package can be replaced.
Do I need Firebase to use fb-auth, or only Facebook OAuth credentials?
The package overview describes Facebook OAuth credentials and login flow handling. The technical assessment, however, frames the package around Firebase-backed authentication, Firebase identity, and Firebase SDK/API behavior. Confirm the actual dependency and credential model from the README and composer.json before choosing it for a Facebook-only social login requirement.
How does fb-auth handle password reset notifications and token verification?
The technical assessment notes that version 5.2.1 fixed typing for password reset code notification arguments, which shows the recovery path is part of the package surface. It does not specify whether notifications go through Laravel's notification system or Firebase, or what the tested contract is. Add regression tests for password reset requests, notification argument construction, token verification, and delivery failure handling.
Is mortezamasumi/fb-auth safe for production authentication?
It can be considered for production only after a non-production spike validates login, logout, token lifecycle, password reset, and notification delivery against your exact Laravel, PHP, and Firebase versions. The assessment flags small-package maintainer risk, undocumented compatibility boundaries, and coupling to Firebase behavior. Treat auth recovery changes as security-sensitive and require targeted tests rather than routine dependency upgrades.
How should I test Facebook login and password reset with fb-auth?
Build a proof-of-concept in a non-production branch and add regression tests for login, logout, token refresh or verification, password reset requests, notification argument construction, and delivery failure handling. Exercise the guard and user-provider wiring with your real configuration and credential shape. The assessment specifically recommends targeted tests around password reset because v5.2.1 touched a security-sensitive recovery path.
What are alternatives to fb-auth for Facebook or social login in Laravel?
Laravel Socialite is the common native option for Facebook and other OAuth providers, and Firebase SDKs or custom guard/provider code are alternatives when you need Firebase identity. The best choice depends on whether you require Laravel-native auth semantics or Firebase-backed authentication. Keep auth behind application interfaces so you can switch providers if maintenance or compatibility becomes a concern.
How is mortezamasumi/fb-auth maintained, and what should I watch on upgrades?
The assessment describes the package as actively maintained based on the v5.2.1 patch, but it also flags small-package maintainer risk and an unclear security policy or release cadence. Pin the package version, review composer.json constraints, and confirm whether each release includes only the stated fix or also dependency and compatibility changes. Establish an upgrade-review process and run your auth test suite before production dependence.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections