Skip to content

Add Token Based Authentication#467

Merged
zkayyali812 merged 2 commits into
ansible:mainfrom
zkayyali812:aap-51754
Sep 2, 2025
Merged

Add Token Based Authentication#467
zkayyali812 merged 2 commits into
ansible:mainfrom
zkayyali812:aap-51754

Conversation

@zkayyali812
Copy link
Copy Markdown
Collaborator

The following PR adds token based authentication.

Notably, significant testing using this token was not added, as it would require a larger refactor since our test infrastructure for this repository does not deploy an entire Ansible Automation Platform, but rather just EDA, and a platform token can't be generated in the context of only EDA.

Jira

Alex-Izquierdo
Alex-Izquierdo previously approved these changes Aug 25, 2025
@Alex-Izquierdo
Copy link
Copy Markdown
Contributor

Certainly e2e tests are challenging to not say impossible, but I wonder if it would not be too much effort some basic unit coverage with mocking. https://github.com/ansible/event-driven-ansible/blob/main/tests/unit/plugins/module_utils/test_client.py

I would not block the PR for it, LGTM as it is now.

@zkayyali812 zkayyali812 added the feat New feature ore request label Sep 2, 2025
@zkayyali812 zkayyali812 merged commit 6712cc1 into ansible:main Sep 2, 2025
18 of 19 checks passed
@github-project-automation github-project-automation Bot moved this from Review to Done in 🧰 devtools project board Sep 2, 2025
@zkayyali812 zkayyali812 deleted the aap-51754 branch September 2, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feat New feature ore request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants