Allow user name suffix for OAuth sources #7014
Comments
should be handled around here: gitea/routers/web/user/auth.go Line 652 in 3a6edd3 after #16594 got in you have the LoginSource souce to check option against |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
At our Gitea instance, we would like to introduce a second authentication source next to LDAP, namely Github. However, namespace-wise, we would like to give preference to our current and future LDAP users.
Can Gitea automatically add a suffix to a user name when this user registeres with a specific authentication provider, e.g. that the Github user
janedoe
becomesjanedoe-guest
orjanedoe-github
?Debian's GitLab supports something like that for external users who are not Debian developers: https://signup.salsa.debian.org/register/guest/
The text was updated successfully, but these errors were encountered: