This is plugin for Express Gateway The main purpose for authenticate with auth service that impl OpenId Connect standard This plugin useful for integrating with old login merchanism
Getting Started in 5 minutes:
$ yarn add express-gateway-plugin-authorizing
Configure this plugin:
- [Fronted-end] Condition for invoking request: Add Extra Header Key-Value:
Auth-Type = "SSO"
- [Config-Gateway] Add config
- [How-it-work] Request will pass to introspect/userinfo endpoint and caching ttl and decide to pass-through or denied request.
Express Gateway plugin explanation: Plugin Documentation
CLI for installing and configuring plugin: Plugins CLI
Guidlines how to write your custom plugin: Plugin Development Guide
Express Gateway Boot Sequence explains order in which plugin entities are loaded and executed.