Open JTarasovic opened 1 year ago
https://github.com/go-gitea/gitea/issues/13606
It looks like gitea doesn't allow configuring those things :-/
That's a bit different than what I was talking about. I don't really care if there's a login form that doesn't work. I wouldn't want users to be able to register themselves as gitea users outside of the SSO provider.
Seems like these settings from their docs would do it but that's not what I've been seeing:
DISABLE_REGISTRATION=#{sso_enabled?}
SHOW_REGISTRATION_BUTTON=#{!sso_enabled?}
ALLOW_ONLY_EXTERNAL_REGISTRATION=#{sso_enabled?}
We should change the istio virtual service to route registration and login as redirects to oauth.
Looking at the docs it seems like these settings should be disabling user registration but that's not what I am seeing. The settings are getting rendered to app.ini correctly but don't seem to be having any effect.