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

Auto-redirect when only one Social Auth is defined #4516

Merged
merged 4 commits into from
May 15, 2021

Conversation

kiblik
Copy link
Contributor

@kiblik kiblik commented May 14, 2021

If DD_SOCIAL_AUTH_SHOW_LOGIN_FORM is set to False (local login is not allowed) and there is exactly one Social Auth definition, the /login page automatically redirect to the Social login form.
There is no reason to show only one Social button.

@valentijnscholten
Copy link
Member

I don't agree this should be the default behavior. Maybe optional via a config parameter, but not by default.

Copy link
Member

@valentijnscholten valentijnscholten left a comment

Choose a reason for hiding this comment

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

see comment

@kiblik
Copy link
Contributor Author

kiblik commented May 15, 2021

@valentijnscholten, fixed in c5a25a9

@valentijnscholten
Copy link
Member

Thanks, can you update the description as well?

@damiencarol damiencarol merged commit 21580cc into DefectDojo:dev May 15, 2021
@kiblik kiblik deleted the no_login_form branch August 18, 2021 21:03
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.

None yet

3 participants