pastatsh / opauth-line
LINE strategy for Opauth
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pastatsh/opauth-line
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2025-10-21 00:15:56 UTC
README
Opauth strategy for LINE.
Implemented based on https://developers.line.me/web-api/integrating-web-login-v2 using OAuth2.
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-LINE:
cd path_to_opauth/Strategy git clone git://github.com/pastatsh/opauth-line.git LINE -
Create a server-side application at https://business.line.me/
- Callback URL: enter
http://path_to_opauth/line/oauth2callback
- Callback URL: enter
-
Configure Opauth-LINE strategy.
-
Direct user to
http://path_to_opauth/lineto authenticate
Strategy configuration
Required parameters:
<?php 'LINE' => array( 'channel_id' => 'YOUR CHANNEL ID', 'channel_secret' => 'YOUR CHANNEL SECRET' )
Optional parameters:
state
License
Opauth-LINE is MIT Licensed
Copyright © 2017 pastatsh (https://github.com/pastatsh)