Skip to content

Helper to generate LINE JSON Web Token (JWT) for LINE OAuth2 v2.1

License

Notifications You must be signed in to change notification settings

clsung/line-oauth2-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line-oauth2-helper

Build Status codecov GoDoc Go Report Card

Introduction

Helper to generate LINE JSON Web Token (JWT) for LINE OAuth2 v2.1.

Install

% go get github.com/clsung/line-oauth2-helper/cmd/line_jwt

Usage

Command line

% line_jwt -file ${LINE_PRIVATEKEY_FILE} -channel_id ${CHANNEL_ID}

or

% line_jwt -channel_id ${CHANNEL_ID} < ${LINE_PRIVATEKEY_FILE}

Docker

Pull the image:

% docker pull clsung/line-oauth2-helper:stable

Web version

then run the following

% docker run -ti -p 8080:8080 clsung/line-oauth2-helper:stable

and connect to http://localhost:8080/

Command line

% docker run -i clsung/line-oauth2-helper:stable line_jwt -channel_id ${CHANNEL_ID} < ${LINE_PRIVATEKEY_FILE}

About

Helper to generate LINE JSON Web Token (JWT) for LINE OAuth2 v2.1

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published