News: Articles for #LINE Login
LINE Login: new parameters and properties added
We've added new parameters and properties to LINE Login v2.1:
- The parameter
ui_localeslets you specify the display language and script for LINE Login.
- The property
amrspecifies the authentication methods used in authentication. This corresponds to the OpenID Connect 1.0
amrproperty is automatically added to all LINE login v2.1 enabled channels, so no additional development work is required.
See also Integrating LINE login with your web app. If you haven't integrated LINE Login yet, we hope you'll consider doing so now.note Note
New or changed LINE Login functions may cause changes in the structure of the payload JSON object. These changes may include added properties, variations in property order, and added/removed white space and line breaks. Make sure your implementation can handle both current and future payload data objects.
Any functionality we offer may be changed without notice. However, we'll try notify you in advance if we believe that the change will significantly affect developers.
- The parameter
Notice about service outage for LINE Login (resolved)
We'd like to inform you about a service outage regarding LINE Login. The issue has now been resolved. We apologize for any inconvenience that this may have caused.
Date and time of outage
Date: June 17, 2019 Time: 11:41–13:01 JST (GMT+9)
Issue with our servers.
LINE Login returned error code "400 Bad Request" when some users attempted to log in.
LINE will continue to improve the quality of its services to prevent future outages. Thank you for your understanding.
Notice about system maintenance
We will perform maintenance for LINE Login and the Social API. We apologize for any inconvenience caused by this.
Scheduled maintenance time
March 05, 2019 05:30-06:30 JST (+9 GMT)
API operations using the access token for LINE Login 2.0 and the Social API 2.0 can be interrupted for 30 seconds to 1 minute.
This maintenance will not affect API operations using the access token for LINE Login 2.1 and the Social API 2.1.
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.