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

User self registration #286

Closed
cornelinux opened this issue Dec 15, 2015 · 0 comments
Closed

User self registration #286

cornelinux opened this issue Dec 15, 2015 · 0 comments
Labels
Type: Idea! Discuss new ideas, features and enhancements

Comments

@cornelinux
Copy link
Member

The user can register himself with

Registration data

  • username
  • givenname
  • surname
  • email address
  • password (token) PIN

Registration API

Using the /user end point might be a bit of a problem, since this endpoint requires authentication by an admin or a user. We could enhance POST /user, but the more complicated logic to check for the authenticated user, might break some things. So we create a new endpoint like /register

Notification

He gets an email with a registration token. After this, he can login and enroll tokens.

UI

If a registration policy is defined, the normal login window contains a link to the registration form.

Policy

The registration policy can be located in the scope=enrollment

Or we use a new scope registration

A policy should define in which resolver the user is to be created.

optional: Choose between several realm, require administrative confirmation.
As there are several possibilities we create a new scope registration
Actions contain the new resolver and the settings for the constraints.

Constraints

There can be certain registration constraints according to the policy. Like registering only from client IPs.
But we can also add additional constraints like:

  • registering is only allowed with certain email-addresses
  • registering is only allowed during certain times
  • in certain realms....

TODOs

  • send notification email
  • documentation
@cornelinux cornelinux added the Type: Idea! Discuss new ideas, features and enhancements label Dec 15, 2015
@cornelinux cornelinux added this to the 2.10 milestone Dec 18, 2015
cornelinux added a commit that referenced this issue Dec 26, 2015
The user is created and enrolled a Registration token.

Working on #286
cornelinux added a commit that referenced this issue Dec 26, 2015
cornelinux added a commit that referenced this issue Dec 26, 2015
The registration button on the login page is only visible
if a registration policy is defined.

Working on #286
cornelinux added a commit that referenced this issue Dec 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Idea! Discuss new ideas, features and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant