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

Adding a SSO login button to the /api/login endpoint #15777

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

Conversation

philip860
Copy link

SUMMARY

The https://localhost/api/login page traditional does not offer SAML SSO functionality when then SAML back-end is enabled in AWX, this pull request adds that feature to the /api/login page, along with Google SSO.

This PR is an attempt to resolve this still opened issue:
#12905

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • API
  • UI
  • Other
AWX VERSION
AWX: 24.6.2.dev1+g7e0c1e36bd.d20250127
ADDITIONAL INFORMATION

image

Before the change, if you enable SAML SSO, then logout of the awx-gui, and navigate to the /api/login page you should only see the standard login button.

image

After the change, if you enable SAML SSO and logout, and navigate to the /api/login endpoint you should be able to see a SAML hyperlink that will initiate a SSO login attempt through AWX to your specified SSO IdP.

image

I have also added the capability of adding Google as a login source to the /api/login endpoint.

The other traditional authentication sources such as Azure, Github, and OIDC are not yet options.


… added to /api/login, running version: AWX 24.6.1.dev

Signed-off-by: Phil Duncan <philipduncan860@gmail.com>
Signed-off-by: Phil Duncan <philipduncan860@gmail.com>
@github-actions github-actions bot added component:api dependencies Pull requests that update a dependency file community labels Jan 27, 2025
Copy link

Copy link
Author

@philip860 philip860 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding functionality a SSO button on the /api/login endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:api dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant