8000 Added configurable token_auth_method by Yaish25491 · Pull Request #478 · ansible-collections/servicenow.itsm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added configurable token_auth_method #478

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

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

Yaish25491
Copy link
Collaborator
SUMMARY

Added configurable token_auth_method parameter to support both x-sn-apikey and Authorization Bearer headers for access tokens

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/module_utils/arguments.py
plugins/module_utils/client.py
tests/integration/targets/api_authentication/tasks/main.yml
ests/unit/plugins/module_utils/test_client.py

ADDITIONAL INFORMATION

Uses the API-key method as default, the User can choose Bearer method by stating:
"token_auth_method": "bearer"

Copy link

Copy link

@Yaish25491 Yaish25491 requested a review from mhjacks June 18, 2025 12:10
@mhjacks
Copy link
Collaborator
mhjacks commented Jun 18, 2025

Noted: The test failures are a known issue and not related to this change

Copy link

Copy link

@mikemorency mikemorency self-requested a review June 20, 2025 15:59
Copy link
< 8000 !-- -->

Copy link

Copy link

Copy link

@Yaish25491 Yaish25491 force-pushed the ACA-2513 branch 2 times, most recently from 007b634 to 329fbb2 Compare June 23, 2025 14:24
Copy link

…lient-creds-inventory

adding oauth client_credentials grant type to inven plugin
Copy link

@mhjacks mhjacks merged commit dcf3624 into ansible-collections:main Jun 23, 2025
90 of 93 checks passed
@mhjacks mhjacks mentioned this pull request Jun 24, 2025
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.

3 participants
0