An open API service indexing awesome lists of open source software.

https://github.com/blankeos/cookie-pass-examples

🍪 Examples to understand HTTP-only cookies for sessions in a few different backend-frontend setups.
https://github.com/blankeos/cookie-pass-examples

Last synced: 10 months ago
JSON representation

🍪 Examples to understand HTTP-only cookies for sessions in a few different backend-frontend setups.

Awesome Lists containing this project

README

          

Cookie Pass Examples

The purpose of this repo is to demonstrate how cookies are being passed around in several FE and BE setups.

Table of Contents

- [Examples](#examples)
- [1. ✅ Metaframework with External Backend](#1-%E2%9C%85-metaframework-with-external-backend)
- [2. ⬜ Same origin](#2-%E2%AC%9C-same-origin)
- [3. ⬜ Reverse-proxy](#3-%E2%AC%9C-reverse-proxy)
- [4. ⬜ Same origin HTMX](#4-%E2%AC%9C-same-origin-htmx)

## Examples

### 1. ✅ Metaframework with External Backend

Frontend and Metaframework Backend should be able to pass the same cookies to the external api backend.

| Port | |
| ---- | ------------ |
| 3000 | Frontend |
| 3000 | Meta Backend |
| 4001 | API Backend |

### 2. ⬜ Same origin

Todo

### 3. ⬜ Reverse-proxy

Todo

### 4. ⬜ Same origin HTMX

Todo