Simple LINE Login implementation for Envoy External Authorization
LINE Login authorization service implementing Envoy External Authorization API.
https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto
How it works
Envoy External Authorization is a feature to intercept user request with custom authorization.
This package interact with envoy and check the http request header.
Extract LINE access token from header Authorization: Bearer LINE_ACCESS_TOKEN
and authorize it upstream LINE Login service.
Then if the upstream authorization is passed, append LINE User info set on the header to be able to use at backend service.
See the LINE official docs how to properly manage access token between client and server.
https://developers.line.biz/en/docs/line-login/secure-login-process/
Detail of LINE Login API
https://developers.line.biz/en/docs/line-login/
How to use
License
MIT