Open
Description
Feature Description
There are more and more requirements for a better login system.
Including (but not only):
- Determine desired password-handling behavior for ExternalLoginUsers #1036
- Always put OAuth user info in the ExternalLoginUser table #1143
- Allow to disable local login #13606
- Is it possible to choose default auth source? #7633
- DISABLE_2FA parameter for disabling 2FA added #18481
- DISABLE_LOCAL_USER_MANAGEMENT mode added #18466
- Add setting to force login through openid #21851
- Show OpenID Connect and OAuth on signup page #20242
- Improving authentication with hardware keys / FIDO2 / webauthn + 2FA #21675
- Enforce two-factor auth (2FA: TOTP or WebAuthn) #34187
Some of them might be improved by a "patch", but Gitea really needs a better login system to satisfies most users, otherwise some changes may conflict and block each other eventually.
The first step IMO is to have a (nearly) complete design,to define the expected behaviors for various situations.
Screenshots
No response
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
pboguslawski commentedon May 20, 2023
Ideas to consider:
jrjake commentedon Jul 9, 2023
I think a good first step to this would be to only show username/email field on login page for first render, so flow sort of looks like this:
A good example of this would be https://accounts.zoho.com/signin. What do others think?
pboguslawski commentedon Jul 10, 2023
In case of reverse proxy auth/header auth/certificate auth no login form is used and should not be rendered nor available.
Allow to disable the password-based login (sign-in) form (#32687)