-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Feature request: Change default authentication provider for user registration. #700
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
Comments
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 |
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. |
LDAP-authentication is already possible when the admin goes through the installation-process so I don't really see the issue here? |
On Thu, Jan 19, 2017 at 10:26:12AM -0800, Philip Couling wrote:
It would be good if gitea could allow *anyone* with a valid login (eg: a valid LDAP login) to create themselves an account.
This is already supported. Anyone with LDAP gets an account automatically
created upon first login. We disabled the registration and used a custom
template to provide a link to the external LDAP registration page.
Works fine.
|
@couling did we respond to your concern ? Can this be closed ? (spring cleanup) |
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. |
Feature request: Change default authentication provider for registration.
At the moment there are two mechanisms for creating an account:
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.
The text was updated successfully, but these errors were encountered: