kasmtech / workspaces-issues

18 stars 4 forks source link

[Authentication] Disable automatic account creation when using OpenID #211

Open nielsbasjes opened 2 years ago

nielsbasjes commented 2 years ago

I have installed the developer build (files are dated Jun 3rd 06:11H) and I have configured the OpenID in conjunction with Google (i.e. I'm now able to login using my Google account).

Improvement suggestion:

I want to disable automatic account creation at the moment of logging in with OpenID. The moment I first log in using OpenID a new account is created if no account exists for the provided email address. I want to disable this behavior (i.e. there should be a "no such user" error instead) and I want this to imply that I have to create users manually beforehand.

j-travis commented 2 years ago

Hi @nielsbasjes , Thank you for this suggestion. We've created an internal dev ticket to make this change. We will update this ticket when its complete

nielsbasjes commented 2 years ago

Additional suggestion: For the account provisioning I recommend also looking into SCIM (which is a standard for this kind of thing)

Sworyz commented 7 months ago

Hi, do you have any news about this features? Maybe with the option to create the user but put it in a disabled state (can't login) by default.

Pontiac76 commented 1 month ago

I'm interested in this enhancement as well.