Skip to content

Commit

Permalink
Monkey patch idp. Corrected on template-infra/rocket/idp
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketnova committed Aug 1, 2024
1 parent 2d6af29 commit 928f356
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
20 changes: 10 additions & 10 deletions infra/app/app-config/env-config/identity-provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
# If the notification service is configured, the identity provider will use the
# SES-verified email to send notifications.
locals {
# If your application should redirect users, after successful authentication, to a
# page other than the homepage, specify the path fragment here.
# Example: "profile"
callback_url_path = ""

# If your application should redirect users, after signing out, to a page other than
# the homepage, specify the path fragment here.
# Example: "logout"
logout_url_path = ""

identity_provider_config = var.enable_identity_provider ? {
identity_provider_name = "${local.prefix}${var.app_name}-${var.environment}"

Expand All @@ -10,16 +20,6 @@ locals {
temporary_password_validity_days = 7
}

# If your application should redirect users, after successful authentication, to a
# page other than the homepage, specify the path fragment here.
# Example: "profile"
callback_url_path = ""

# If your application should redirect users, after signing out, to a page other than
# the homepage, specify the path fragment here.
# Example: "logout"
logout_url_path = ""

# Optionally configure email template for resetting a password.
# Set any attribute to a non-null value to override AWS Cognito defaults.
verification_email = {
Expand Down
6 changes: 6 additions & 0 deletions infra/app/app-config/env-config/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ variable "enable_identity_provider" {
default = false
}

variable "enable_notifications" {
type = bool
description = "Enables notifications"
default = false
}

variable "environment" {
description = "name of the application environment (e.g. dev, staging, prod)"
type = string
Expand Down

0 comments on commit 928f356

Please sign in to comment.