Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add OAuth2 config dump #15133

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

jessicamack
Copy link
Member

SUMMARY

dump_auth_config will now also dump OAuth2 config data.

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • Other
AWX VERSION
awx: 24.2.1.
ADDITIONAL INFORMATION

if OAuth2 is not configured

    {
        "OAUTH2_missing_fields": [
            "KEY"
        ]
    }

if OAuth2 is configured

    {
        "type": "ansible_base.authentication.authenticator_plugins.google_oauth2",
        "name": "GOOGLE_OAUTH2",
        "enabled": true,
        "create_objects": true,
        "users_unique": false,
        "remove_users": true,
        "configuration": {
            "CALLBACK_URL": "https://towerhost/sso/complete/google-oauth2/",
            "KEY": "123456-gmabcdef.apps.googleusercontent.com",
            "SECRET": "test",
            "AUTH_EXTRA_ARGUMENTS": {
                "CUSTOM_PARAM": "custom field"
            }
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant