Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Auth Screens for Your Laravel Apps

    Auth Screens for Your Laravel Apps

    July 2, 2024

    Managing multiple Laravel applications can be challenging, especially when it comes to modifying each app individually. For instance, if you wanted to add social authentication or change the user login process, you would find yourself changing the functionality in several places. Wouldn’t it be more efficient if your authentication functionality was centralized? Imagine simply flipping a switch when you need a new feature or you need to incorporate a new social provider. That’s exactly why we created DevDojo Auth.

    DevDojo Auth is a free, open-source project that provides you with customizable authentication pages for your Laravel app. It’s compatible with any Laravel application (version 10.x or higher) and any of the available starter kits.

    How to Install

    Setting up is really simple. Once you have a fresh Laravel application ready, you can install the package using Composer:

    composer require devdojo/auth

    Next, you’ll want to publish the assets, configs, and more:

    php artisan vendor:publish –tag=auth:assets
    php artisan vendor:publish –tag=auth:config
    php artisan vendor:publish –tag=auth:ci
    php artisan vendor:publish –tag=auth:migrations

    Lastly, you need to run the migrations, and then extend the DevDojo User model.

    php artisan migrate

    If you want to take advantage of many of the 2FA and social provider methods from your user object, you’ll need to extend the DevDojo User Model from your AppModelsUser.php :

    use DevdojoAuthModelsUser as AuthUser;

    class User extends AuthUser

    That’s it! You’re now ready to begin onboarding users. However, if you wish to customize the pages with your own colors and logo, please continue reading.

    Setup and Customizations

    After installing this package, you can access a simple setup page at /auth/setup.

    From this setup page, you can change the appearance, add social providers, adjust the language copy, and modify settings related to your authentication functionality.

    Available Pages

    This package offers many common authentication pages to help your users authenticate with your app. Plus, the user experience of these pages will maintain your professional image and encourage your users to return.

    Here is the list of authentication pages you will have available in your application after installation.

    Login
    Register
    Verify Email
    Password Confirmation
    Password Reset
    Two Factor Challenge

    You can learn more about these pages by visiting the documentation

    Adding Social Authentication

    Adding social authentication with this package is very simple. You simply need to obtain the CLIENT_ID and CLIENT_SECRET for each provider you wish to include. Then, go to the social providers page on the setup screen and activate the desired social providers.

    Bring up your login and/or registration page and you’ll see that the social providers are locked and loaded, ready to authenticate user from their favorite social networks.

    More Goodies

    There are so many other features you can take advantage of with this package. One of which is the Github action workflows. You can publish CI files to your application and have them run everytime a new PR is opened. This package ships with Pest and Dusk tests to make sure your authentication is fully operational at all times ✨

    Be sure to visit the Devdojo Auth official documentation to learn more.

    The post Auth Screens for Your Laravel Apps appeared first on Laravel News.

    Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCLI Experiments : Prong (Part 1)
    Next Article Perficient Recognized as a Major Player in IDC MarketScape for Cloud Professional Services

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 17, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-4610 – WordPress WP-Members Membership Plugin Stored Cross-Site Scripting Vulnerability

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    How the Amazon TimeHub team designed a recovery and validation framework for their data replication framework: Part 4

    Databases

    The Micro-Benchmark Fallacy

    Development

    CVE-2025-1054 – UiCore Elements – WordPress Stored Cross-Site Scripting

    Common Vulnerabilities and Exposures (CVEs)

    Microsoft April 2025 Patch Tuesday: Fixes for 134 security vulnerabilities, one exploited Zero-Day

    Operating Systems

    Highlights

    Development

    Increasing Threat of Cyberattacks is Causing Energy Companies to Bolster Security

    August 30, 2024

    A major energy and utilities supplier has become the latest victim in a growing list…

    Overclockable AI CPUs? Intel’s new flagship mobile chips offer a massive boost over previous generations.

    January 6, 2025

    Your board needs no-nonsense AI leadership – these experts explain why

    August 7, 2024

    Windows 11 24H2 update will let you replace Copilot key with a context menu shortcut

    February 10, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.