Introduction
Expected Outcome
After completing the steps in this document, the result should be an end user account that is able to successfully perform an SSO login in HCP Terraform, allowing access to an SSO enabled organization.
Prerequisites (if applicable)
- HCP
- HCP Terraform
Use Case
When trying to access HCP Terraform there are cases where organizations may not be visible, SSO sign-in does not work or login may be stuck in a loop.
Procedure
To remove SSO identities from an HCP Terraform Account:
- Open new private / incognito window and go to https://app.terraform.io/session
- Login with your HCP Terraform credentials
- Once logged into HCP Terraform do not select any organizations.
- Go to "Account Settings" on the left side drop down.
- Click on "SSO Identities" tab and then use the "..." menu to remove all SSO identities.
- From here, log the user account out of HCP Terraform and then attempt an SSO login.
If the SSO login from step 6 does not work as expected, the user account may need to be unlinked from an HCP account. If there is no link present in this account, it is possible that the end user has an additional HCP Terraform or HCP platform account attached to a personal email address. If that is the case, repeat steps 1-5 on any other known accounts for the user.
If these steps fail, open a support ticket with the HCP Terraform team for further assistance.