DEV Community

Rohit Urane
Rohit Urane

Posted on

5 3

How To Implement Bitbucket Login In Laravel

Image description

According to a research report, users' session is shorter on every website nowadays. In this case, you can simplify the registration and login process for your application. The socialite package is the best and primarily used package for social login. It is used to reduce the process. In this article, we implement a Bitbucket login to your application.

Step by step guide on Bitbucket login in the laravel application

  • Install Socialite Package Install Socialite package on laravel application. Run the following command.
composer require laravel/socialite
Enter fullscreen mode Exit fullscreen mode

You need to add the below line of code inside the app.php file.

$providers= [

    ......
    Laravel\Socialite\SocialiteServiceProvider::class,
    ......
]; 

$alias = [

    ......
    'Socialite' => Laravel\Socialite\Facades\Socialite::class,
    ......
]
Enter fullscreen mode Exit fullscreen mode

Read More

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay