Coder Social home page Coder Social logo

"Invalid redirect_uri value. Check if it is registered in a LINE developers site." I am getting this error, how to resolve? about line-login-starter HOT 6 OPEN

line avatar line commented on August 12, 2024
"Invalid redirect_uri value. Check if it is registered in a LINE developers site." I am getting this error, how to resolve?

from line-login-starter.

Comments (6)

ys-office-llc avatar ys-office-llc commented on August 12, 2024

I have the same trouble.

from line-login-starter.

ys-office-llc avatar ys-office-llc commented on August 12, 2024

Maybe a bug.

redirect_uri is invalid.

I add a redicret_uri to https%3A%2F%2F(https://)

Example:
https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=1654407713&redirect_uri=https%3A%2F%2Fline-login-starter-20200701.herokuapp.com%2Fauth&state=z4327Rb3SiXRDo-D0bUD3toQCixSpVyH68jLL9-S6gE&scope=openid%20profile&nonce=SWFEng3EK6E3HNKyIOa-YT8NW5QIrtqEjYpY2sZoLMI

image

from line-login-starter.

ys-office-llc avatar ys-office-llc commented on August 12, 2024

solved.

It's just a misconfiguration of heroku.

image

from line-login-starter.

lehien avatar lehien commented on August 12, 2024

In your https://developers.line.biz/console/channel, select your target channel:

  • select LINE login tab, add your redirect url to Callback URL (exp: https://myredirect.local/app/redirect)
  • select Basic Settings: at Linked OA, choose your target channel and save.
    Hope it help.

from line-login-starter.

punpunjubu avatar punpunjubu commented on August 12, 2024

My problem is solved when I click copy buttons (copy callback url, chanel id and chanel secret) and then go to your app on heroku click edit, and paste them
`
For Chanel Id ->click copy
githublinelogin

Copy the others and paste them one by one
paste on heroku

`
Do not select the texts and paste You should click the copy button instead

from line-login-starter.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.