

S256(Represents the hash function SHA256.)
#Identity api scope approval ui how to
If no value is specified, the request doesn't support PKCE.įor more information on how to implement PKCE, see Implement PKCE for LINE Login in the LINE Login documentation.

This is the value obtained by encrypting the unique code_verifier with SHA256 and then encoding it into Base64URL format. Parameters required to support PKCE for LINE Login. We recommend using the disable_auto_login parameter, which was added later. If set to true, Auto login will be disabled in iOS. If set to true, Auto login will be disabled.
#Identity api scope approval ui code
If set to false, hide the buttons for changing the login method, such as "Log in with email" or "QR code login". If lineqr is specified, Log in with QR code will be displayed by default instead of Log in with email address. For more information, see Add a LINE Official Account as a friend when logged in (bot link). Corresponds to the ui_locales parameter defined in the "Authentication Request" section of OpenID Connect Core 1.0 (opens new window).ĭisplays an option to add a LINE Official Account as a friend during login.

Specify as one or more RFC 5646 (BCP 47) (opens new window) language tags, separated by spaces, in order of preference. Corresponds to the max_age parameter defined in the "Authentication Request" section of OpenID Connect Core 1.0 (opens new window).ĭisplay language for LINE Login screens. The allowable elapsed time in seconds since the last time the user was authenticated. This value is returned in an ID token.Ĭonsent。 Used to force the consent screen to be displayed even if the user has already granted all requested permissions. For more information, see Scopes.Ī string used to prevent replay attacks (opens new window).

Your web app should generate a random value for each login session. You can add any query parameter.Ī unique alphanumeric string used to prevent cross-site request forgery (opens new window). You can find this in the LINE Developers Console.Ī URL-encoded string of the callback URL registered on the LINE Developers Console. You can pass these query parameters to the authorization URL. When the user clicks a LINE Login button, redirect them to an authorization URL with the required query parameters, as shown in the example below. Initiate the process of authenticating the user with the LINE Platform and authorizing your app. # Authenticating users and making authorization requests Once your application form has been accepted, "Applied" is displayed under Email address permission. On the Basic settings tab, under OpenID Connect, click Apply.Īgree to the terms and upload a screenshot of the screen that explains that you're collecting the user's email address and what you're using it for. To obtain a user's email address with a web app, you must first apply for permission to do so in the LINE Developers Console. LINE Login v2.1 allows you to obtain the email address of any user who has logged in to your app using LINE Login. # Requesting permission to access the user's email address You can set more than one callback URL per channel. Set a callback URL from the LINE Login tab of your channel settings in the LINE Developers Console.
