Configuring Nginx to have Keycloak handling auth requests in the same domain as your single page app and http api

If you want keycloak to handle auth requests in the same domain as you’re service your single page app (spa) and http api:
The prerender config comes from my prerendering proxy.
Keycloak is listening on port 4000 locally.
Continue reading “Configuring Nginx to have Keycloak handling auth requests in the same domain as your single page app and http api”

Event Driven Architecture in Go rant

This was originally a question for Stackoverflow, but it’s actually a rant.

Why bother with EDA at all? Because all I see is job offers for people specialized in “event-driven design”. In my opinion, especially when using a high performance, low resource language like Go, EDA is overkill. But anyhow, since I’d like to get that money (LGTM), I need to know about this new old born-again hype train, event-driven architecture.
Continue reading “Event Driven Architecture in Go rant”

sha-1 ist tot

Gaëtan Leurent und Thomas Peyrin melden das sha-1 als hash Funktion tot ist.
Somit gesellt es sich zu MD5, welches schon seit langen Jahren nicht mehr als hash Funktion zu gebrauchen ist.

Als Ersatz wird SHA-256 oder SHA-3 empfohlen.

Find and delete all node_modules and bower_components in all directories

If you would like to delete all node_modules and bower_components in all directories relative to the current, use the following commands: