Add options to automatically blocked users configuration
Problem to solve
Allow more customization to block automatically created users.
Currently with gitlab_rails['omniauth_block_auto_created_users']
enabled all new users are blocked and need to be manually blocked. It would be useful to have more options to specifically whitelist specific domains or patterns to not autoblock.
Perhaps something like:
gitlab_rails['omniauth_allow_auto_created_users'] = {
domain: '*.domain'
}
Documentation
https://docs.gitlab.com/ee/integration/omniauth.html#initial-omniauth-configuration