Open jnikhila opened 2 years ago
@jnikhila great catch! @ankitakinger @trishaanand @vuiets we should think about this scenario to prevent users from shooting themselves in the foot
Stat | Values |
---|---|
Reach | 4 |
Effort (months) | 0.5 |
People using SSO/SAML to login: 24 Assuming that 20% of them will transition to a different provider: 2
I've parked the effort for this to be 2 person-weeks, please correct me if I'm wrong here.
@Nikhil-Nandagopal, AFAIK, once you have configured SSO, you will have to have at least one form of login available to turn it off. This case was discussed during SSO weekly. We will check how we missed this scenario.
@hiteshjoshi I think the problem here is that once you turn it off, you can have form login still enabled but because your ID is now linked to the SSO login, you can't use form login to login
Linked to #34651.
any update?
Is there an existing issue for this?
Description
Scenario- The superuser used form login to create an account with Appsmith before configuring SSO. A superuser then uses Admin settings to configure SSO with a service provider. On successful configuration, the logins are driven by the SSO provider. The superuser shares the same email for form login as well as SSO. On disconnecting the SSO, the form logins are disabled, and thus, a superuser is also unable to connect to Appsmith. This could be a valid scenario where a company might have moved to another SSO provider and would want to disconnect and re-configure a new SSO provider. So, a superuser should be able to use form login as well as SSO login.
Steps To Reproduce
Go to Admin settings --> select SAML --> configure SAML for SSO --> SSO successfully configured.
Login using SSO --> Login successful.
Go to Admin settings --> Edit SAML --> Click Disconnect --> SSO disconnected.
Login using Form login -- > A login attempt is unsuccessful and the user is prompted with an error message
"Please use Keycloak authentication to login to Appsmith". (Screenshot attached below)
Public Sample App
No response
Version
Self hosted