DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to Integrate OpenShift with Keycloak

2 years ago thenewstack.io

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

If you want to integrate https://www.openshift.com/try?utm_content=inline-mention with an identity provider, such as https://www.keycloak.org/?utm_source=thenewstack&utm_medium=website&utm_content=inline-mention&utm_campaign=platform you must first understand how user authentication and token management work. During the OAuth process, the user’s credentials are verified by the identity provider, and the user’s information is mapped to an identity in https://thenewstack.io/kubernetes/whats-the-difference-between-kubernetes-and-openshift/

The API server validates the access token, but user authentication happens during the early OAuth process, so the token will remain active regardless of any changes made to the user’s information or credentials.

To configure authentication for your OpenShift applications, you can follow these steps: Create an OpenID Connect identity provider within your Keycloak realm by navigating to the “Identity Providers” tab and clicking on “Add provider.”

Create an OpenID Connect Identity Provider: $ oc create configmap keycloak-oidc --from-file= .json $ oc process -f .yaml --param-file= .properties | oc apply -f -

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com