thisI would like to implement Twitter login with Laravel&nuxt by referring to the article.

The problem i am having

The problem I'm having is getting the URL of the authentication page from Laravel side, sending it to the nuxt side and transitioning to the authentication page, but when I press the [Approve app] button, the PIN code comes out.

Corresponding source code

Referenced article (with code)

What I tried

I checkedarticleAccording to it, it turned out to be the URL of the desktop application. If it is the WEB application version of oauth/authenticate, it seems to redirect instead of the PIN code.