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

AWS Cognito user pool client does not allow USER_PASSWORD_AUTH as explicit_auth_flows #3397

Closed
apv1 opened this issue Feb 15, 2018 · 2 comments · Fixed by #3417
Closed

AWS Cognito user pool client does not allow USER_PASSWORD_AUTH as explicit_auth_flows #3397

apv1 opened this issue Feb 15, 2018 · 2 comments · Fixed by #3417
Milestone

Comments

@apv1
Copy link

apv1 commented Feb 15, 2018

Hi,

It seems AWS Cognito app clients allows one more configuration option now. It's not possible to set USER_PASSWORD_AUTH for an app client with Terraform.

Terraform Version

Terraform v0.11.3

Affected Resource(s)

  • aws_cognito_user_pool_client

Terraform Configuration Files

resource "aws_cognito_user_pool_client" "main" {
  name = "app"

  user_pool_id = "${aws_cognito_user_pool.main.id}"
  explicit_auth_flows = ["ADMIN_NO_SRP_AUTH", "USER_PASSWORD_AUTH"]
}

Expected Behavior

Create an app client with desired options

Actual Behavior

Error: aws_cognito_user_pool_client.main: expected explicit_auth_flows.1 to be one of [ADMIN_NO_SRP_AUTH CUSTOM_AUTH_FLOW_ONLY], got USER_PASSWORD_AUTH
@bflad
Copy link
Contributor

bflad commented Feb 27, 2018

This has been released in version 1.10.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants