Description
Feature request: Change default authentication provider for registration.
At the moment there are two mechanisms for creating an account:
- An admin creates one manually.
- If enabled anybody can run through the account registration procedure to create an account with LOCAL authentication.
This means that either users have to wait for a sysadmin to creat an account for them, or that sysadmins have no control over who signs up for an account. It also means that user driven registration always uses local authentication and never an alternative (eg LDAP).
It would be good if gitea could allow anyone with a valid login (eg: a valid LDAP login) to create themselves an account.
Possible further extensions to this:
-
A user attempting to log in with with a username and password which do not match a gitea user but will authorise with LDAP could be bounced to a pre-authorised account registration page ("Just add full name and email address to complete")
-
Gitea could enforce that that gitea usernames and authentication provider (LDAP) usersnames match - at least for registration.
Activity
tboerger commentedon Jan 19, 2017
There is already an open issue to provide a bootstrap config that enables ldap or other authentication sources directly from the beginning. Than nobody will be able to register on the wrong place
couling commentedon Jan 19, 2017
Are you referring to #209? That's quite a different issue. #209 is about automating setup from the point of view of the sysadmin during installation. This issue is about allowing users to set themselves up on an established and running instance where they already have a single-sign-on user-name and password.
bkcsoft commentedon Jan 20, 2017
LDAP-authentication is already possible when the admin goes through the installation-process so I don't really see the issue here?
strk commentedon Jan 20, 2017
strk commentedon Feb 23, 2017
@couling did we respond to your concern ? Can this be closed ? (spring cleanup)
stale commentedon Feb 17, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.