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

✨ [#1878] Post-login registration form for eHerkenning #861

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Nov 27, 2023

Based on #859, so that should be merged first

task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1878

Aside from adapting the necessary registration form, the following was also changed/added:

  • added eHerkenning link to registration page
  • made DigiD/eHerkenning links on registration page conditional based on settings.DIGID_ENABLED and SiteConfiguration.eherkenning_enabled

@stevenbal stevenbal marked this pull request as draft November 27, 2023 11:12
@stevenbal
Copy link
Contributor Author

I removed the first and last name fields from this form, I did notice however that the generated email is prefilled in the form:

image

I'm not sure if this is intentional, do we want this? @alextreme

@stevenbal stevenbal force-pushed the feature/1878-registration-for-eherkenning-users branch from eb4233d to f3c00f8 Compare November 27, 2023 11:30
@stevenbal stevenbal changed the base branch from feature/1855-eherkenning-login to feature/1866-kvk-onderwerp-personalization November 27, 2023 11:31
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2d0fb26) 92.68% compared to head (edfd210) 92.75%.

Files Patch % Lines
src/open_inwoner/accounts/views/registration.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@                              Coverage Diff                               @@
##           feature/1866-kvk-onderwerp-personalization     #861      +/-   ##
==============================================================================
+ Coverage                                       92.68%   92.75%   +0.06%     
==============================================================================
  Files                                             788      788              
  Lines                                           27050    27155     +105     
==============================================================================
+ Hits                                            25071    25187     +116     
+ Misses                                           1979     1968      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alextreme
Copy link
Member

I removed the first and last name fields from this form, I did notice however that the generated email is prefilled in the form:

image

I'm not sure if this is intentional, do we want this? @alextreme

How we deal with emailadresses and DigiD is a bit odd, but as it's a required field it is auto-generated. I'd recommend to do the same with eHerkenning, and if it's auto-generated that we hide this value just like with DigiD (it is overwritten anyway).

@stevenbal stevenbal force-pushed the feature/1878-registration-for-eherkenning-users branch from daad68e to 9e20d52 Compare November 27, 2023 13:47
@stevenbal
Copy link
Contributor Author

and if it's auto-generated that we hide this value just like with DigiD (it is overwritten anyway).

Ah I see, I'll implement it the same for eHerkenning

@stevenbal stevenbal force-pushed the feature/1878-registration-for-eherkenning-users branch from 9e20d52 to 4589964 Compare November 27, 2023 14:07
Copy link
Member

@alextreme alextreme left a comment

Choose a reason for hiding this comment

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

Looks good to me

Base automatically changed from feature/1866-kvk-onderwerp-personalization to feature/1855-eherkenning-login November 27, 2023 17:53
@alextreme alextreme merged commit d31946e into feature/1855-eherkenning-login Nov 28, 2023
11 checks passed
@alextreme alextreme deleted the feature/1878-registration-for-eherkenning-users branch November 28, 2023 14:13
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.

4 participants