Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support line login #539

Open
pipob opened this issue Oct 20, 2023 · 4 comments
Open

Support line login #539

pipob opened this issue Oct 20, 2023 · 4 comments

Comments

@pipob
Copy link

pipob commented Oct 20, 2023

I not found 2 api about get user profile by access_token on the sdk

https://developers.line.biz/en/reference/line-login/#get-user-profile
https://developers.line.biz/en/reference/line-login/#userinfo

Please help to create that. thank you.

@Yang-33
Copy link
Contributor

Yang-33 commented Oct 20, 2023

is not defined in this sdk too, although I'm not sure we should support line-login in this sdk.

@pipob
Copy link
Author

pipob commented Oct 30, 2023

I found oauth feature added on #291 and #318.
Not sure "Get user information" was release after that?

@Yang-33
Copy link
Contributor

Yang-33 commented Jan 26, 2024

No, I think that pull request just made the oauth-related (related to channel access token) APIs usable in line-bot-sdk-nodejs. There were APIs like userinfo in line-login from that time, but it seems that no one just contributed this.

Now, line-bot-sdk-nodejs generates code automatically based on line-openapi. We can easily generate code by adding a definition here, but only employees belonging to the LINE org can add definitions.
Also there are no immediate plans to manage line-login APIs with line-openapi. (But, I want to support this!)
There is still no prospect of adding it. I'm sorry, but please wait.

@Yang-33
Copy link
Contributor

Yang-33 commented Jan 26, 2024

If you want to use it in line-bot-sdk-nodejs now, you can add code here to access the line login endpoint. (However, this will no longer be maintained, because it's old code and deprecated.)

@Yang-33 Yang-33 changed the title Not found API Support line login Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants