-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Current Status
- On the user table, there are two columns
LoginType
andLoginSource
which will decide how to authenticate the user, so a user's login type could be one ofNoType
,Plain
,LDAP
,SMTP
,PAM
,DLDAP
,OAuth2
,SSPI
When login, first get the database record according to user's input login name on user table. If the record exist, then check user's login type. If login type supports password check, just check password from source.
If the user doesn't exist, then check all possible login sources one by one with give login name and password.
The input username and password will be checked. For some login sources, if password is right but users doesn't exist in database then create one user.
TBC
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.