Skip to content

Feature request: Change default authentication provider for user registration. #700

Closed
@couling

Description

@couling

Feature request: Change default authentication provider for registration.

At the moment there are two mechanisms for creating an account:

  1. An admin creates one manually.
  2. 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

tboerger commented on Jan 19, 2017

@tboerger
Member

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

couling commented on Jan 19, 2017

@couling
ContributorAuthor

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.

added this to the 1.x.x milestone on Jan 20, 2017
added
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.
on Jan 20, 2017
bkcsoft

bkcsoft commented on Jan 20, 2017

@bkcsoft
Member

LDAP-authentication is already possible when the admin goes through the installation-process so I don't really see the issue here?

strk

strk commented on Jan 20, 2017

@strk
Member
strk

strk commented on Feb 23, 2017

@strk
Member

@couling did we respond to your concern ? Can this be closed ? (spring cleanup)

stale

stale commented on Feb 17, 2019

@stale

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.

removed this from the 1.x.x milestone on Feb 19, 2019
locked and limited conversation to collaborators on Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/staletype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@tboerger@lafriks@strk@bkcsoft

        Issue actions

          Feature request: Change default authentication provider for user registration. · Issue #700 · go-gitea/gitea