Golang get openid-connect userinfo

It might not be news to you, but this will explain a little bit about Go, making http requests and parsing the result. OpenID-Connect (oidc) is an identity protocol, you could call it an Oauth2 dialect. It manages your users per realm, well not the protocol but the server does. Every oidc idp (identity provider…

Read Article

The stupidity and ambiguitiy of Vue

Rant mode: Which idiots name template references “ref” and then name essentially all composition api variables “ref()” as well!?! YEAH GOOD FUCKING JOB VUE DEVELOPER IDIOTS It makes searching for answer so much more fucking frustrating! Fucking idiots.

Read Article

Spring Data JPA fixtures

What are fixtures? Fixed data that is always present in the database. You can think of it as the initial dataset. application.properties

The documentation speaks of “the root classpath”, not knowing Java well I had no idea what that means and an answer on Stackoverflow was of course wrong. It’s not the “src” dir,…

Read Article

Spring Data JPA Postgres UUID @Id

I read lots of outdated info on this matter. Using PostgreSQL v13+ there is a function called gen_random_uuid(). See the manual page of Postgres UUID. Here’s an example entity called Page

As you see you can append the columnDefinition to the @Column annotation. “UUID default gen_random_uuid()” This translates to following SQL

And you…

Read Article