ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.5k stars 3.34k forks source link

Add OIDC auth config dump #15131

Open jessicamack opened 3 weeks ago

jessicamack commented 3 weeks ago
SUMMARY

dump_auth_config will now also dump OIDC config data.

ISSUE TYPE
COMPONENT NAME
AWX VERSION
awx: 24.2.1.
ADDITIONAL INFORMATION

if OIDC is not configured

    {
        "OIDC_missing_fields": [
            "KEY",
            "OIDC_ENDPOINT"
        ]
    }

if it is configured

    {
        "type": "ansible_base.authentication.authenticator_plugins.open_id_connect",
        "name": "OIDC",
        "enabled": true,
        "create_objects": true,
        "users_unique": false,
        "remove_users": true,
        "configuration": {
            "KEY": "test",
            "SECRET": "test",
            "OIDC_ENDPOINT": "https://test.com",
            "VERIFY_SSL": true
        }
    }