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.

Usage no npm install needed!

<script type="module">
  import expressGatewayPluginTookie from 'https://cdn.skypack.dev/express-gateway-plugin-tookie';
</script>

README

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