-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
[feature] Added view to collect email in SAML registration #557
base: master
Are you sure you want to change the base?
Conversation
d5426db
to
cbaef31
Compare
4a7897f
to
6f84147
Compare
If the IdP does not include email address in SAML response, then the user will be asked for email during sign-up.
6f84147
to
3d3b7a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good except the naming, see my comment below and let me know what you think.
@@ -26,6 +26,11 @@ def get_saml_urls(saml_views=None): | |||
saml_views.AssertionConsumerServiceView.as_view(), | |||
name='saml2_acs', | |||
), | |||
path( | |||
'additional-info/', | |||
saml_views.LoginAdditionalInfoView.as_view(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love the naming here, if we are asking only for the email here, why are we calling everything "additional info"?
I think we should call this view LoginCollectEmailView
, the URL collect-email/
and the template collect-email.html
.
What do you think?
Checklist
Reference to Existing Issue
Description of Changes
If the IdP does not include email address in SAML response, then the user will be asked for email during sign-up.