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: support token validity units #14919

Closed
borfig opened this issue Aug 31, 2020 · 3 comments · Fixed by #14935
Closed

AWS Cognito: support token validity units #14919

borfig opened this issue Aug 31, 2020 · 3 comments · Fixed by #14935
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope.
Milestone

Comments

@borfig
Copy link

borfig commented Aug 31, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS Cognito allows configuring the token validity units of tokens for each User Pool Client.

New or Affected Resource(s)

  • aws_cognito_user_pool_client

Potential Terraform Configuration

// the Console user pool client
resource "aws_cognito_user_pool_client" "this" {
  // other attributes
 
  token_validity_units {
     access_token  = "hours"
     id_token      = "hours"
     refresh_token = "days"
     // the above are defaults; valid values are: seconds | minutes | hours | days
  }
}

References

@borfig borfig added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 31, 2020
@ghost ghost added the service/cognito label Aug 31, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 31, 2020
@DrFaust92 DrFaust92 removed the needs-triage Waiting for first response or review from a maintainer. label Aug 31, 2020
@francotel
Copy link

I hope add this feature comming soon

@ghost
Copy link

ghost commented Mar 12, 2021

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Apr 8, 2021

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 as resolved and limited conversation to collaborators Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope.
Projects
None yet
4 participants