Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-gateway-plugin-cookie-auth

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-gateway-plugin-cookie-auth

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

  • 5.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 15 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc