mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Organizations could gain new users automatically by email domain, but users who register through one identity provider - the reporter's Nextcloud - often share no domain, so they could not be grouped. OAUTH2_DEFAULT_ORGANIZATION, or its field under Admin Panel / People / OAuth2, names an existing organization (by short name, display name or id) that every account created by an OAuth2/OIDC login joins, beside the domain rule. A name that matches no organization creates none: the login goes on and the server log says so. Listed on every platform, with snap help lines for it and for DEFAULT_AVATAR_URL and OAUTH_PROVIDERS_ALLOWED_EMAIL_DOMAINS, which lacked them. Thanks to vasyugan and xet7 ! Fixes #5339.