Search

Chapter 5. Configuring Ansible Automation Platform Central Authentication Generic OIDC settings and Red Hat SSO/keycloak for Red Hat SSO and Ansible Automation Platform

download PDF

Ansible Automation Platform Central Authentication allows for the setting of generic OIDC settings and Red Hat SSO/keycloak for Red Hat SSO and Ansible Automation Platform.

5.1. Prerequisites

  • You are able to log in as an admin user.

5.2. Configuring Central Authentication Generic OIDC settings

Procedure

  1. Log in to RH-SSO as admin.

    Note

    If you have an existing realm you may go to step 6.

  2. Add Realm.
  3. Enter Name and click Create.
  4. Click the Clients tab.
  5. Enter name and click Create.
  6. From the navigation panel, select Client Protocol openid-connect.
  7. From the navigation panel, select Access Type confidential.
  8. In the Root URL field, enter your Ansible Automation Platform server IP or hostname.
  9. In the Valid Redirect field, enter your Ansible Automation Platform server IP or hostname. If not in production, set to *.
  10. In the Web origins field, enter your Ansible Automation Platform server IP or hostname. If not in production, set to *.
  11. Click the Credentials tab.

    Note

    Keep track of the Secret to be used later.

  12. Log in to Ansible Automation Platform Controller as admin.
  13. From the navigation panel, select Settings.
  14. Select Generic OIDC settings from the list of Authentication options.
  15. Click Edit.
  16. In the OIDC Key field, enter the name of your client from step 5.
  17. In the OIDC Secret field, enter the secret saved from step 8.
  18. In the OIDC Provider URL field, enter your keycloak server URL and port.
  19. Click Save.

OIDC should appear as an option for login. Click Sign in with OIDC and it will redirect you to the SSO server for login and redirection back to Ansible Automation Platform.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.