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 Keycloak service account auth capability to ansible-galaxy #83145

Draft
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

sivel
Copy link
Member

@sivel sivel commented Apr 25, 2024

SUMMARY

Add Keycloak service account auth capability to ansible-galaxy

Effectively, this adds a new configuration client_secret, ultimately what seems to be a pretty minimal change.

ISSUE TYPE
  • Feature Pull Request
ADDITIONAL INFORMATION

Basic auth will be removed from console.redhat.com, service accounts will need to utilize this change for auth.

As of now, galaxy_ng doesn't support handling this auth mechanism, so while auth is successful, the granted token doesn't authorize access to anything. The result is API calls fail with a 403 currently. Galaxy will have to accept the added token header info added by CRC before this can work.

I believe this should also resolve #70019

@ansibot ansibot added feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. labels Apr 25, 2024
@sivel sivel force-pushed the galaxy-service-account-auth branch from 9fdb4ce to f69dcf1 Compare April 25, 2024 19:35
@webknjaz
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label Apr 30, 2024
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request. has_issue stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
Projects
ansible-core 2.18
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

Long import wait times in ansible-galaxy collection publish break on token expiration
4 participants