envoy-ext-authz-line

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 16 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL