Day 4: API Key Auth & Endpoint Registration — Building a Production-Grade Webhook Gateway
Priyanshu v1
0:00 / 0:00
Day 4: API Key Auth & Endpoint Registration — Building a Production-Grade Webhook Gateway
9 просмотров · 13 дней назад
Priyanshu v1
10 подписчиков
9 просмотров · 13 дней назад
Building a high-performance, stateless Webhook Gateway from scratch using Java 25, Spring Boot 4, and PostgreSQL 18.
Day 4 Covered:
-Implementing cryptographically secure API key generation (wh_live_...) using SecureRandom and BCrypt hashing
-Building a custom ApiKeyAuthenticationFilter to intercept X-API-KEY headers for server-to-server request authorization
-Creating clean DTO records and an EndpointService to register destination URLs
-Generating unique webhook signing secrets (whsec_...) and testing the full ingestion flow using Bruno
GitHub Repository: https://github.com/priyanshu-v1/hook-...
Tech Stack: Java 25 | Spring Boot 4 | Spring Security | Spring Data JPA | PostgreSQL 18 | Lombok