Closed
Description
- Gitea version (or commit ref): 1.3.2
- Operating system: CentOS 7
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Not a bug but request for enhancement : Actually, gitea permits users logged it through openid to have the corresponding user automatically created in gitea :
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true
But it doens't work if one decides to create a authentication source like oauth2 (so tested with OpenID Connect on my side) : once authenticated, and redirected to gitea, it asks to either :
- login with existing (local) user (doesn't exist yet)
- create a new user account
Of course I'd like to only allow people authenticated through oauth2 to sign in and so be registered automatically (so DISABLE_REGISTRATION = true)
As discussed in #gitea on freenode, creating a RFE ticket here so that people can discuss it and/or track a potential status change
...