Urgent.News

What's breaking now, across thousands of outlets.

Tech

OIDC: Keycloak setup for ALB Gateway API

Introduction In my previous article , I tested using ALB CRDs to offload JWT validation for OIDC-based authentication to the Amazon EKS Kubernetes API. In this article, I will share the Terraform/OpenTofu stack required to set up Keycloak as the OIDC provider and explain how it works. I am using the official Keycloak Terraform provider . The provider documentation clearly explains how to connect…

In the context of OIDC-based authentication using Keycloak as the provider, this article outlines the Terraform/OpenTofu stack required for setup. By leveraging the official Keycloak Terraform provider, the process is clearly explained with a focus on service-account client configuration (Client Credentials grant in OAuth 2.0) and environment variables for configuration.

The KEYCLOAK_URL, KEYCLOAK_REALM, KEYCLOAK_BASE_PATH, KEYCLOAK_CLIENT_ID, and KEYCLOAK_CLIENT_SECRET variables are set to establish the connection. For GitHub Actions runners, a JWT-federated client is recommended, which is explained in detail.

Keycloak clients serve as the entry point for obtaining authentication tokens. The client configuration involves setting the client ID, name, access type, client authenticator type, flow types, and allowed redirect URIs. The client secret is generated to authenticate the non-public client. The standard flow is enabled, but implicit flow and other grant types are disabled. Only the scopes necessary for the client are included in the token, and only specific redirect URIs are accepted.

Client roles are assigned to limit the roles present in the token's role claim. These roles are defined in the client-specific role. Additionally, groups are created in Keycloak to manage role mappings for each user. The kube-api-client-roles.tf file defines the client-specific role, and the kube-groups.tf file maps this role to a group. Users are managed by creating Keycloak users with username and email attributes within the kube-users.tf file.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

85 Container. 1 Entwickler.

85 Container, 24 Datenbanken, 232 Cron-Jobs — und ein Gründer Wenn ich jemandem sage, dass ich alleine arbeite, kommt meistens dieselbe Reaktion: Ungläubiges Staunen, gefolgt von der Frage, wie das…

  • Founder built system with 85 containers, 24 databases, and 232 automated tasks
  • System completed 1,087 tasks with 88% success rate after 14 months
  • Founder emphasizes automating right tasks, using Guard-Regels for clear boundaries

scripting et réseaux

OK j'avance sur le script, si j'ai bien compris. Bash c'est pour du petit script rapide et Python quand c'est un peu plus complexe (et idéalement on script dans le language où le script va agir.

  • Bash is best for small scripts, while Python handles complex tasks
  • Networking concepts like IP addresses and ports are challenging to visualize
  • Author plans to learn via online courses by January and document progress

How to Configure Full Parallel Execution in TestNG via Maven (with Dynamic Thread Control)

Running automation test suites sequentially can quickly become a bottleneck in CI/CD pipelines. To optimize execution efficiency, you can enable full parallel execution using TestNG and Maven…

  • Update testngregression.xml for parallel mode and thread count
  • Configure pom.xml for dynamic control with maven-surefire-plugin
  • Override settings via Maven command-line parameters for runtime control

Cómo solucionar el error “Enable JavaScript and cookies to continue”

Cómo solucionar el error “Enable JavaScript and cookies to continue” Este mensaje aparece cuando Cloudflare (u otro proxy de seguridad similar) bloquea la solicitud porque detecta que el cliente no…

  • Enable JavaScript in browser settings to resolve error
  • Disable JavaScript or improper cookie handling triggers error
  • Use headless browser with JavaScript support for developers

Navigating Microsoft Azure Certifications in 2026: Value, Trends, and Blueprint Strategy

The cloud ecosystem in 2026 isn't just about moving VMs to the public cloud—it's heavily driven by hybrid operations, unified security telemetry, AI integration, and complex governance across…

  • 2026 sees shift in Azure certification demand to operational problem-solving.
  • Certifications like AZ-204 and SC-200 align with specific enterprise scenarios and career paths.

More from Saturday 22 August →