omniauth_block_auto_created_users - per oauth provider configuration

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

It's not possible to choose different user blocking behaviours for new signups depending on a specific oauth provider. For example one could choose to enable signups without blocking for a shibboleth/saml oauth provider but to create blocked users for new sign-ups coming from google.

~"feature proposal".

Proposal

let the admin specific in gitlab_rails['omniauth_providers'] the omniauth_block_auto_created_users behaviour for each provider.

Edited by 🤖 GitLab Bot 🤖