Integrating LINE Login with Firebase
โดยคุณตี๋ จิรวัฒน์ กรัณย์วิทยาการ, Google Developer Expert Firebase
https://www.facebook.com/events/351387272028975/
10. User's email permission
● Released since Feb 28, 2018
● Apply for the permission in the
console by uploading a screenshot
that explains why you need to
obtain their email and what you will
use it for
11. OpenID Connect
iss URL where the ID token is generated.
sub {user_id}
aud {client_id}
name Display Name
picture User’s profile image URL
email example@domain.com
phone_number coming soon...
12. LINE Login v1 to be discontinued
On March 31, 2018
● access token: https://api.line.me/v1/oauth/verify
On April 30, 2018
● Get user profile: https://api.line.me/v1/profile
● Logout: https://api.line.me/v1/oauth/logout
On June 30, 2018
● Verify access token: https://api.line.me/v1/oauth/verify
● LINE SDK: iOS and Android version 3.x or earlier
After an endpoint is terminated, any access to it will result in a 4XX status code as a response.
13. ● Converting an MID to a User ID
https://developers.line.me/en/docs/
line-login/converting-mid-to-userid/
MID(v1.0) != User ID(v2.x)
16. 2. Get
Access Tokens
6. Log in with
Custom Token
4. Get / Set
Firebase User
3. Verify
Access Token
1. Request
Authorization Code
5. Create Firebase
Custom TokenStep by Step
17. 0. Create a Channel
https://developers.line.me