News: Articles for #LINE Login
LINE Login: You can log in with a QR Code
Web apps that use LINE Login 2.1 now allow users to log in by scanning a QR code on the login screen. They can scan the QR code with LINE on their smartphones. As before, they can also log in with their email address and password.
We have applied this new feature to all channels with LINE Login 2.1 enabled. You don't need any further development.
Don't let your users miss out on this great UX feature — implement LINE Login today!
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and in other countries.
The behavior of a consent screen displayed to LINE Login users has changed
The behavior of a consent screen displayed to users at login has been changed when you use LINE Login to request your users to grant your app permission to get their email address.
Previously, when a user attempted to log in, a consent screen was displayed at each login with or without the
Currently, a consent screen is not displayed for a certain period unless the user's email address changes.
For more information, see Authentication and authorization process.
LINE SDK 5.0.0 released
The LINE SDKs 5.0.0 for Android, iOS Swift, and iOS Objective-C have been released. For installation and usage instructions, see the following guides:
LINE Login v2.1 and Social API v2.1 are supported
You can set permissions to be granted to your app as scopes when users log in to your app with LINE Login. By setting scopes, you can get ID tokens when you get access tokens. Those tokens contain user information according to the scopes you set with the login request.
You can display an option to add your bot as a friend to users logging in to your app. You can get the friendship status between users and your bot with login responses and the Social API.
New SDK version in Swift
Developed in Swift, the LINE SDK for iOS Swift provides a modern way of implementing LINE APIs. The LINE SDK 5.0.0 for iOS Objective-C is the last version of our Objective-C SDK.
The LINE SDK for Android and iOS Swift are open-sourced. Visit the following repositories to check the provided code and samples.
Now you can access detailed reference based on the source code. For more information, see the following references:
LINE Login v1 to be discontinued
Starting from March 31, 2018 we will start terminating LINE Login V1 endpoints. Please see the following schedule on the termination date for each endpoint. After an endpoint is terminated, any access to it will result in a 4XX status code as a response.
Endpoints terminating on March 31, 2018
- Issue access token: https://api.line.me/v1/oauth/accessToken
Endpoints terminating on April 30, 2018
- Get user profile: https://api.line.me/v1/profile
- Logout: https://api.line.me/v1/oauth/logout
Endpoints terminating on June 30, 2018
- Verify access token: https://api.line.me/v1/oauth/verify
- API endpoints for the LINE SDK for iOS and Android version 3.x or earlier
To avoid any issue related to the termination of LINE Login V1, please make sure to update your service to the latest LINE Login version. Please see the following page for more details on the latest LINE Login version.
Please also notice that the LINE user identifier is different between LINE Login V1 and LINE Login V2 or higher. If you are using the V1 user identifier on your service, you will need to convert the user identifier to use the latest LINE Login version. Please see the following page for more details on how to convert the LINE user identifier.
If you are a partner, we will contact you individually for more details.
New permission to get users' email address released
Now you can request users who log in using LINE Login to grant your app the permission to get their email address. To do so, you first need to apply for the permission in the console.
For more information, see the sections below in Integrating LINE Login with your web app.
New article on converting an MID to a user ID
Users are identified using a user ID in LINE Login v2 or later instead of an MID in v1. If you have integrated LINE Login v1 into your app and want to migrate it to v2 or later, you need to convert MIDs to user IDs.
For more information, see Converting an MID to a user ID.
LINE Login v1 to be discontinued
We will be discontinuing the LINE Login v1 endpoints listed below on March 31, 2018. Once these endpoints are discontinued, a 4xx status code and error message will be returned.
- Access token endpoint: https://api.line.me/v1/oauth/accessToken
- Verify endpoint: https://api.line.me/v1/oauth/verify
- Profile endpoint: https://api.line.me/v1/profile
- Logout endpoint: https://api.line.me/v1/oauth/logout
Also note that versions 3.x.x and below of the LINE SDK for iOS and Android will no longer work after LINE Login v1 is discontinued.
If you are currently using LINE Login v1, we highly recommend updating your app to the latest version of LINE Login as soon as possible to avoid any issues when LINE Login v1 is discontinued. For information on the latest version of LINE Login, see the following pages.
LINE URL scheme information released
We've added an article about the LINE URL scheme to our LINE Login and Messaging API documentation. You can use the URL schemes to help your users navigate to specific content such as the camera, location, or settings screens in LINE. The LINE URL scheme can be used in your bot (Messaging API) from within LINE or in your native or web apps to automatically open LINE.
See the new articles below.