If you’re like me and trying to use NATS Jetstream with JWT auth and Keycloak… Well right now you’re SOL, because Keycloak so far only supports RSA, HMAC and AES, and NATS requires ED25519 signatures. But a certain individual named tnorimat aka Takashi Norimatsu is apparently working on ED25519 support. EdDSA Keycloak Issue on Github…
Read ArticleCategory: Entwicklung
Webentwicklungg, Programmieren, Software, Server… irgendwie alles was in den Bereich Computer und Entwicklung fällt
Anything regarding web-development
upstream sent too big header while reading response header from upstream
If you’re getting this error message “upstream sent too big header while reading response header from upstream” in the nginx error log and are using fcgi, in my case I was running a PHP script via PHP FPM 8.2 and received a 502 response from nginx. I fixed the issue.
Read ArticleTaking Screenshots of Webpages without common ads
For my main site I had to take screenshots of my webpages. I used puppetteer.
Read ArticleReplace text recursively
I’m in the process of moving from my gogs instance on git.icod.de to my gitea instance on code.icod.de In this process I’m migrating countless packages manually. It’s quite a lot of work. Often I need to replace “git.icod.de’ with ‘code.icod.de’ To do this on a Linux machine I use the following 1-liner:
|
1 |
grep 'git\.icod\.de/dalu/blogs' * -rl | xargs sed -i 's/git\.icod\.de\/dalu\/blogs/code.icod.de\/dalu\/blogs/g' |
In this…
Read ArticleSvelte-kit and Keycloak OIDC
There’s NextAuth.js from vercel, which was made for next.js Recently it was adapted for svelte-kit. The announcement post: https://vercel.com/blog/announcing-sveltekit-auth The keycloak provider doc: https://next-auth.js.org/providers/keycloak The example repository: https://github.com/nextauthjs/sveltekit-auth-example Well it does work, on first sight. Sign in, Sign out, requiring auth for pages, it all works. However you need a confidential client. And this token…
Read Article