Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-create users when using SSO Login #952

Open
M0ustach3 opened this issue Feb 25, 2024 · 2 comments
Open

Auto-create users when using SSO Login #952

M0ustach3 opened this issue Feb 25, 2024 · 2 comments

Comments

@M0ustach3
Copy link

Hi,

I wonder If It would be possible to auto-create users when they first login via an SSO provider ? I'm currently using a custom one, but it should not matter much.

This would allow dynamic user creation, thus avoiding manual account creation and manual linking to SSO email.

What do you guys think ?

Cheers

@budachst
Copy link

Nice feature, but you'd still have to fetch the SSH keys for that account as well. SSHPortal, which we used before, utilized a kind of "invitation" scheme for that. It would send a mail message to the new user and provide a special SSH user token. Once the new account connected via SSH to the portal, the public ssh key would be stored for that user account.

@M0ustach3
Copy link
Author

Hi,

Apologies for the late answer, been busy lately.

The idea I had in mind was to leverage Warpgate's ability to NOT require additional client-side software to generate dynamically an SSH certificate if the SSO request was granted. (I'm using Vault to generate SSH certificates) That way, there would be no need to store public keys anywhere, as the certificate would be injected into the backend SSH connection.

This would enable the dynamic creation of short-lived SSH certificates, thus greatly enhancing security in a corporate-wide context.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants