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

Fix SAMLAuth backend to correctly return social auth pipeline results #15457

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

newswangerd
Copy link
Member

SUMMARY

Social auth pipeline stages are intended to be able to return HTTP response objects such as redirects (https://python-social-auth.readthedocs.io/en/latest/developer_intro.html#interrupting-the-pipeline-and-communicating-with-views). This feature was broken by overriding the authenticate method on the SAMLAuth.

Related: ansible/django-ansible-base#565

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION

ADDITIONAL INFORMATION

@relrod relrod requested a review from AlanCoding August 21, 2024 16:50
Copy link

sonarcloud bot commented Aug 26, 2024

Copy link
Member

@AlanCoding AlanCoding left a comment

Choose a reason for hiding this comment

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

Reading the code, feels like, "can't hurt"

@fosterseth fosterseth merged commit c59c64c into ansible:devel Aug 30, 2024
19 checks passed
kdelee pushed a commit that referenced this pull request Sep 4, 2024
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.

4 participants