Twitter login with breeze api
OAuth, Breeze API and NextJs App
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:
https://developer.twitter.com/en/portal/dashboard
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.
As you can see Twitter need secure HTTP. So I'm used ngrok. https://ngrok.com/download
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.
Last updated