Software meets hardware.
Code, circuits, hydraulics, and the things that connect them.
Projects and practical notes by Jon.
From the workbench
-
Understanding JWT Token Transformation: Bridging OAuth2 and PostgREST
TLDR: Here is the github repo to pull and try (you will need your own oauth2 provider like google etc) https://github.com/jcianci12/Client-Server-postgrest-jwt-demo 🍒 In modern web applications, authentication and…
-
Diagnosing and Fixing High CPU Usage in Authentik Stack
The Problem Recently, we noticed that our Authentik authentication stack was experiencing unusually high CPU usage, with the authentik-server-1 container consuming up to 178.62% CPU. This was causing performance issues…
-
Setting Up PurelyMail in Outlook for iPhone (IMAP/SMTP)
Step 1: Open Outlook and Add a New Account Step 2: Select IMAP (Manual Setup) Step 3: Enter Incoming Mail Server (IMAP) Settings Step 4: Enter Outgoing Mail…
-
Setting Up PurelyMail in Outlook for PC (IMAP/SMTP)
Step 1: Open Outlook and Add a New Account Step 2: Choose IMAP Account Type Step 3: Enter Incoming Mail Server (IMAP) Settings Step 4: Enter Outgoing Mail…
-
Understanding JWT Authentication with PostgREST
TLDR: Here is the example you can spin up in docker to test: https://github.com/jcianci12/jwt-postgrest-example Introduction PostgREST is a powerful tool that automatically creates RESTful APIs from PostgreSQL databases.…
-
Setting environment variables for postgres running in docker
When running PostgreSQL in Docker, setting environment variables correctly is crucial, especially for sensitive data like API keys. After extensive testing, here’s the solution that worked for us:…