Problem
Users may encounter an issue attempting to log in to a SSO-enabled Terraform Enterprise (TFE) environment with a local non-admin, non-SSO (username and password) account. While trying to log in with the username and password credentials, a response is displayed:
Username/password login is disabled for non-admin users. Contact your TFE Administrator for additional information.
Solution
This notification is expected in a SSO-enabled environment. By design, once SSO is enabled in a TFE instance, local non-SSO non-admin users are not permissible to log in with a username and password. The exception is for local users who aren't SSO managed but have admin permissions can bypass SSO and login directly to the TFE instance. Currently, there is no option to allow non-admins to log in with a username and password when SSO is enabled.
Additional Information
- For additional assistance please contact HashiCorp Support.