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

Enabled chai provider with proxy user if SSO enabled #620

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danifran
Copy link

Some modules like the Change Password or Update profile modules do not support SSO authentication. This because

  1. The servlets specify the flag Flag.RequiresUserPasswordAndBind
  2. If the user logs on the service using an SSO method, pwm does not know the current password of him/her, thus is not able to create a Chai Provider using the user credentials

In case a proxy user has been defined, this one can be used to generate the chai provider for SSO users. The pull request check if the proxy user is defined and, if so, create a chai provider based on the proxy user in the authenticateUserWithoutPassword method.

Resolve #619

@ph1403
Copy link
Contributor

ph1403 commented Oct 15, 2021

I would test to make sure you can’t sign in as anyone via sso bypass pages. This seems like it creates a loophole in the authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If SSO Authentication is enabled, many authenticated features still requires a password.
2 participants