opauth / line
LINE strategy for Opauth
Installs: 2 567
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-22 04:22:12 UTC
README
Opauth strategy for LINE.
Implemented based on https://developers.line.me/web-api/integrating-web-login-v2 using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
How to use(Only Japanese) http://yuzurus.hatenablog.jp/entry/opauth-line
Getting started
-
Install Opauth-LINE:
cd path_to_opauth/Strategy git clone git://github.com/opauth/line.git LINE
or
composer require opauth/line
-
Create a LINE Login application at https://business.line.me/
- Callback URL: enter
https://path_to_opauth/line/oauth2callback
- Callback URL: enter
-
Configure Opauth-LINE strategy.
-
Direct user to
https://path_to_opauth/line
to authenticate
ATTENTION! You can not use LINE Login without https.
Strategy configuration
Required parameters:
<?php 'LINE' => array( 'channel_id' => 'YOUR CHANNEL ID', 'channel_secret' => 'YOUR CHANNEL SECRET' )
License
Opauth-LINE is MIT Licensed
Copyright © 2017 Yuzuru Suzuki (http://yuzurus.hatenablog.jp/)