+
Skip to content

Feature request: Don't allow Oauth2 auth for users that don't already exist in the database #4736

Open
@hpvb

Description

@hpvb

I have paid support for Prehensile Tales B.V.

I'd like the ability to disable automatic registration of Oauth2 logins. The usecase is as follows: All my users have Oauth2 authentication enable but I don't necessarily want all users to be able to access Wekan. My users all also exist in LDAP so I'd like to be able to tell Wekan to not authorize users that it doesn't know about.

Some setting like OAUTH2_AUTO_REGISTRATION where the default would be 'true', which is the current behavior or 'false' which would not create users for Oauth2 logins if a user with a configurable key doesn't already exist.

OAUTH2_UNIQUE_KEY which can be username or email, or any field in the user model I guess.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载