Blankeos / cookie-pass-examples

πŸͺ Examples to understand HTTP-only cookies for sessions in a few different backend-frontend setups.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

πŸͺ Examples to understand HTTP-only cookies for sessions in a few different backend-frontend setups.


Languages

Language:Svelte 42.6%Language:TypeScript 41.3%Language:JavaScript 10.6%Language:HTML 5.5%