LaraNotes
  • 😍Welcome
  • 🤑Usefull Packages
    • Laravel Auth Log
    • Artisan UI Package
    • VSCODE Extension
    • Livewire Power Grid
    • Migration Generator
    • Larastarters
    • Dumper
    • Mailwind
    • Laravel Security
    • API Orion
    • Squire
    • Bladewind ui
    • Pint
    • Hydra
    • Laravel Markable
    • Chartify
  • 😎Tips
    • Laravel Queues
      • Jobs and Queues 101
    • Pagination
    • Eager Loading
    • First Contributions
    • Laravel Best Practices
    • Laravel Sail
    • Laravel Examples
    • Twitter login with breeze api
    • Deploy Laravel App on AWS
  • 👨‍💻Editor
    • Maool
    • Tinkerun
    • KIT
    • PHPSandbox
    • Starship
    • Laravel Cheat Sheet
Powered by GitBook
On this page
  • Create Twitter app
  • Generate token from App
  • User authentication setup
  • Laravel Socialite Installation
  1. Tips

Twitter login with breeze api

OAuth, Breeze API and NextJs App

PreviousLaravel ExamplesNextDeploy Laravel App on AWS

Last updated 10 months ago

Create Twitter app

First, we need to create Twitter App and get an ID and Secret. So, let's follow bellow steps as well:

Go to Twitter Developer App to click here:

Generate token from App

Go to the app tab and generate a consumer key.

User authentication setup

You will need to set up user authentication in the App setting.

In the authentication setting page, you need to make sure some steps in below.

That is! Let's move to laravel breeze API and NextJS.

Laravel Socialite Installation

SocialiteI'm using sail. So let's install socialite with laravel sail through via composer.

sail composer require laravel/socialite

As you can see Twitter need secure HTTP. So I'm used ngrok.

😎
https://ngrok.com/download
https://developer.twitter.com/en/portal/dashboard
Developer dashboard
App key and tokens
User authentication settings