mrparkers / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
MIT License
634 stars 313 forks source link

Added totp option for keyclock login #750

Open HK78-HAHA opened 2 years ago

HK78-HAHA commented 2 years ago

If grant_type is password, this is a Pull Request that reads the export KEYCLOAK_TOTP environment variable and changed it so that Terraform can handle it as optional.

The background of this Pull Request started with the acquisition of "User Audit Data".

Strict requirements exist in Korea's security regulations (K-ISMS). In particular, most of the records of user behavior and 2-factor authentication are required.

If grant_type is "client_credentials", it is difficult to know which user did which action. We recommend "client_credentials" in this provider, but we can't use it for the reasons mentioned above.

Also, for "password" type authentication, "totp" authentication is not supported in the current provider version.

Therefore, during "password" authentication, the totp environment variable is read from Terraform and changed so that it can be selectively processed.

HK78-HAHA commented 1 year ago

@mrparkers any news on this pull request?

issue 718

lens0021 commented 3 weeks ago

ping @mrparkers