1.2.1 • Published 3 years ago

express-gateway-plugin-tookie v1.2.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

express-gateway-plugin-tookie

Responds with an id_token cookie set or remove call. To store send a POST request with JSON body containing token and expires field. First field contains cookie value and last contains expiration in seconds.

Install

eg install express-gateway-plugin-tookie

Usage

http:
  port: 80

apiEndpoints:
  exampleApi:
    host: '*'

policies:
  - tookie

pipelines:
  examplePipeline:
    apiEndpoints:
      - exampleApi
    policies:
      - tookie:
        - action:
            sameSite: none