Add allowSignup attribute to GitLab auth provider configuration
Created by: miveronese
This PR adds the allowSignup
attribute to the GitLab auth provider configuration.
If not set, it will default to true
, so we can preserve the existing behavior:
- all users (with access to the SG instance) can sign up via GitLab.
If false
:
- only users with a SG account (previously created by an admin) can login/sign up via GitLab.
Test plan
Manual tests were done in the local instance and new tests were added to cover different scenarios.