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

No support for a login/sign up with a personnummer #2

Open
PierreMesure opened this issue Feb 17, 2018 · 2 comments
Open

No support for a login/sign up with a personnummer #2

PierreMesure opened this issue Feb 17, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@PierreMesure
Copy link
Member

Right now, the website just uses the e-mail address as an identifier.

In Sweden, it is usual to use your personnummer. This would make it easier to check people's identity and would be a good first step if the platform is to adopt BankID as an authentication/e-voting method in the future.

This task can actually be divided in two:

  • add a field during the sign up process and connect it to a new column in the database (or maybe a new table with a foreign key?).
  • allow users to login with their personnummer.
@PierreMesure PierreMesure self-assigned this Mar 3, 2018
@PierreMesure PierreMesure added the enhancement New feature or request label Mar 3, 2018
@PierreMesure PierreMesure added this to the 0.2 milestone Mar 3, 2018
@PierreMesure
Copy link
Member Author

Support added. It is now necessary to write in a personnummer to create a user account (not for an organisation).
It is also possible to login with your personnummer.

What remains to be done:

  • fixing the last tests that I broke with this new feature
  • add more checks on the personnummer field (currently can enter any varchar value) (see Wikipedia and this article

@PierreMesure
Copy link
Member Author

Moving the task to digidemlab/consul.

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

No branches or pull requests

1 participant