LINE strategy for Opauth
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LINEStrategy.php fix session logic Apr 5, 2017 add usage Jul 11, 2017
composer.json update composer path Apr 5, 2017


Opauth strategy for LINE.

Implemented based on using OAuth 2.0.

Opauth is a multi-provider authentication framework for PHP.

How to use(Only Japanese)

Getting started

  1. Install Opauth-LINE:

    cd path_to_opauth/Strategy
    git clone git:// LINE


    composer require opauth/line
  2. Create a LINE Login application at

    • Callback URL: enter https://path_to_opauth/line/oauth2callback
  3. Configure Opauth-LINE strategy.

  4. Direct user to https://path_to_opauth/line to authenticate

ATTENTION! You can not use LINE Login without https.

Strategy configuration

Required parameters:

'LINE' => array(
	'channel_id' => 'YOUR CHANNEL ID',
	'channel_secret' => 'YOUR CHANNEL SECRET'


Opauth-LINE is MIT Licensed
Copyright © 2017 Yuzuru Suzuki (