Ansible AWX 24.6.1 version - Authentication Methods

Hi everyone,

Having read this topic:

And more detailed about this comment: “When the engineering work is complete, authentication functionality will no longer be integrated directly with AWX. Community projects built from AWX source will need to maintain their own integration if they require authentication functionality.”

I’ve been using the Ansible AWX 22.6.1 version Docker based installation without any problems and all the authentications methods working ok (included LDAP).

Now I’ve installed the last Ansible AWX 24.6.1 version also Docker based installation and is working smoothly but the Authentication Methods (not basic) are not present anymore (image attached and clearly related to the new Architecture) so having said that, there is some topic, ideas about how to enable or configure the ldap plugin for the user authentication? Or maybe we have to wait a new version of Ansible AWX that allows this configurations?

Thanks in advance!!

Julian.

I haven’t actually tried it, but if the container image is built from the source code of version 24.6.1, the traditional authentication method should still be visible.

How did you build the image? Please ensure that you are not using the latest source code from the devel branch.

1 Like

Hi kurokobo, thanks for your response!

Yes I’ve built the image without the latest source code from the devel branch.

Yes, the traditional authentication method is visible and working Ok, the question is how to configure/add the external authentication method for LDAP having in count the topic published by gundalow:

Or we have to wait a new version of AWX that includes a new implementation to enable the authentication plugins?

Thanks in advance!!

Julian

Hi
AWX version 24.6.1 should still have all the functionality in.
Can you check you’ve installed 24.6.1, and not accidentally installed the devel or latest branch

1 Like

During the process of building the Docker image for AWX version 24.6.1, make sdist is executed:

As a result, it is likely that the latest main branch of ansible-ui has been cloned, built and included as the UI.

Since the latest ansible-ui is based on an unreleased plaggable architecture, I believe that various authentication methods that should exist in version 24.6.1 are hidden.

The Makefile and Dockerfile are complex, so I can’t provide a simple workaround immediately, but I suspect the cause is as mentioned above.

2 Likes

Hi, yes I’ve installed the 24.6.1, I’m going to install the version 24.5.0 to check if I can reproduce the scenario.

Hi, I understand completely … I’m going to check with some minor versions.

@kurokobo Nice investigation and write up.

I’ve asked some of the Controller (AWX) engineers to look into this and see if they can provide a patch.

1 Like

I wonder changing UI_NEXT_GIT_BRANCH to v2.4.227 would work. That’s the tag of the UI repo the day after the AWX 24.6.1 release.