Q&A

Line Login Api failed to parse

前提・実現したいこと

Line Login Api Verify

発生している問題・エラーメッセージ

Hi there, Here's I'm trying to verify my access token with sending POST Request to https://api.line.me/oauth2/v2.1/verify. Instead of getting verified, I got this response "message": "failed to parse". No Status Code, no other message, just that. When I send GET Request on the same url with parameter access_token, it worked correctly but it didn't response things that I want. According to this documentation https://developers.line.biz/en/reference/line-login/#verify-id-token I should get verified with only id_token and client_id POST parameters.

補足情報(FW/ツールのバージョンなど)

Line Login Api v2.1

  • 0
  • 1
  • 320
  • twitter facebook

Damn silly me, I need to send the ID Token I get after requesting a token, not the access token one, Case Closed.

  • 0
Are you sure? question.vm