5.1.0 • Published 2 years ago

express-gateway-plugin-cookie-auth v5.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

express-gateway-plugin-cookie-auth

Creates a cookie-auth policy to protect pipelines with JWT tokens in id_token cookie.

Install

eg install express-gateway-plugin-cookie-auth

Usage

http:
  port: 80

apiEndpoints:
  exampleApi:
    host: '*'

serviceEndpoints:
  exampleService:
    url: 'http://example.com'

policies:
  - proxy
  - cookie-auth

pipelines:
  examplePipeline:
    apiEndpoints:
      - exampleApi
    policies:
      - cookie-auth:
        - action:
            secretOrPublicKeyFile: /var/lib/eg/jwt/key.pem
            audience: <audience-to-validate>
            redirect: example/path - this will redirect to BASE_URL(coozzy.ch)/example/path
            passThrough: ['\/web\/properties\/([0-9]+)$']
      - proxy:
        - action:
            serviceEndpoint: exampleService
            changeOrigin: false
5.1.0

2 years ago

5.0.0

2 years ago

4.1.0

2 years ago

3.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.2

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.0

3 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago