Skip to content

LINE oauth error #81

Answered by Hebilicious
misway asked this question in Q&A
Discussion options

You must be logged in to vote

When attempting to use the LINE provider and sending an authentication request, an error occurs on the server, and the LINE login screen does not appear, regardless of whether it's in the dev or CFP.

[auth][error][OAuthCallbackError]: OAuth Provider returned an error. Read more at https://errors.authjs.dev#oauthcallbackerror

Entering the authorization URL in the browser, the login screen appears smoothly.

https://access.line.me/oauth2/v2.1/authorize?client_id={myid}&redirect_uri=http://localhost:3000/api/auth/callback/line&response_type=code&scope=openid%20email%20profile&state=abcdef

Upon successful login, it redirects to the URL that was set as the redirect_uri localhost. At this point…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by misway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants