Twitter login with breeze api
OAuth, Breeze API and NextJs App
Last updated
OAuth, Breeze API and NextJs App
Last updated
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:
Go to the app tab and generate a consumer key.
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.
SocialiteI'm using sail. So let's install socialite with laravel sail through via composer.
As you can see Twitter need secure HTTP. So I'm used ngrok.