Welcome to our second article about Keycloak Server! Previously, we’ve learnt to setup the server and make use of it in a webapp – today, we’re going to create a matching backend API and also learn a little bit about the OAuth2/OpenID magic that powers our entire authn/authz mechanism. Let’s get started! Read more

Providing authentication and authorization for the non-public-facing components of your application is an integral part of many systems. But all major Scala frameworks come ready-equipped with some native tools for doing that, with complexity and comprehensiveness ranging from basic HTTP schemes with Akka HTTP’s SecurityDirectives to numerous Play plugins such as Deadbolt 2 or Silhouette.

However, getting what you need out of some of these can be difficult. And having to relearn them for every new framework provides additional overhead when moving to an unfamiliar tech stack.

Read more