Svelte-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 then isn’t compatible with the server side API (RESTful/GraphQL) which expects a non-confidential client.
Also it doesn’t use the SignIn page from the keycloak server, but its own “sign in with keycloak” page.
Roles are not present and no documentation about how to change the scope.
Yes, it can probably be adjusted, but it’s not documented.

Why does Svelte not have a SPA mode?
Why do I have to write a SSR/universal “app” when using Svelte?

Ich kann nicht schlafen

Seit ich wieder in Deutschland bin, kann ich nicht mehr gut schlafen.
Ich schlafe 3-4 Stunden pro Nacht. IdR wache ich gegen 7:30 auf. Aber auch der Schlaf ist nicht sehr tief, sondern so halbwach.
Das lässt mich unkonzentriert sein und ich schaffe es kaum zu arbeiten.
Ich bin in einem ständigen Dämmerzustand. Alles fühlt sich an wie ein Traum.
Hier sind 24 WLAN Netze, und das sind nur die, die sichtbar sind.
Die Nachbarn interessiert es nicht, man kann sie bitten die Geräte Nachts auszuschalten, aber das wird ignoriert.

Ich weis nicht was ich machen soll. Ich fühle mich als würde ich verblöden.
Der Körper braucht Schlaf um sich zu regenerieren.
Ich sehe die Buchstaben kaum auf dem Monitor weil meine Augen so müde sind.

Um 8 fangen die Kirchen an ihre Glocken zu läuten. Es ist ein Irrenhaus hier.
Die Störungsquellen müssen weg. Die Flüwo interessiert das nicht. Die wollen nur Geld.
Nicht mal Bäume wollen sie pflanzen damit der Straßenlärm abgefangen wird.
Und der Straßenlärm geht von 5 bis 3 Uhr morgens.

Schon 3 Wochen ohne richtigen Schlaf.
Ich muss schlafen. Die Sonne auch noch macht es noch schwerer.

Stechmücken trotz Abgegitterter Fenster?

Heute ist der 17.November 2022. Praktisch Winter. Definitiv nicht Sommer.
Die Eingangstüre ist praktisch nie offen.
Seit Juli 2022 töte ich täglich mind. 3 Steckmücken.

Ich verstehe es nicht. Wo kommen sie her? Haben sie hier drin Eier gelegt? Haben die Wände Löcher?
Jeden Tag 3 Moskitos, Abends, morgens 1-2.

Die Fenster haben so engmaschige Gitter das da nichts durchpasst. Es gibt keine Löcher. Ich habe alle akribisch überprüft.
Warum?

Valve is suppressing my right to voice my opinion that I’m not ok with waiving my right of withdrawal

Recently I almost bought a game, “New World” on Valve’s Steam platform. Well you don’t buy a game, you buy a license.
Anyhow I didn’t because I’m not ok with waiving my right of withdrawal of 14 days to be at whim of Valve and their 2 hour refund policy.
Policy, the word alone, as if they have any right of acting like police.

I posted about that fact in the New World Steam forum, because it was the New World game that I almost bought.
And I asked other users to also voice their dissatisfaction with needing to give up their right of withdrawal.
Giving up your rights to buy a license, doesn’t sound correct.

Over a week later I receive a warning about “spam”. Voicing my opinion is spam? I don’t think so.
Valve is trying to shut me up, but I will continue.
No my right of free speech doesn’t end at some company proxy.
The laws are universal. They are human rights.
That company is part of the area where those rights are in effect.
Government or rather the book of laws is above company limits.

Therefore, if you’re dissatisfied that you should give up your rights to be at whim of a censoring organization, voice your opinion.
Say that you’re not buying this game because you’re not ok with waiving your rights.

archlinux: pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Upgrade only openssl to version 3 from 1.1.1 and you receive this error. sudo doesn’t work, pacman doesn’t work, what do you do?

Well hopefully you have not deleted previously downloaded packages from /var/cache/pacman/pkg/ .
If not, read about the Arch Linux Archive and you will need a USB drive/stick/whatever with an archiso written on it. I will not go there.

You however do have a previous version, for instance /var/cache/pacman/pkg/openssl-1.1.1.q-1-x86_64.pkg.tar.zst.
Since you can’t sudo, use su - to become root.