-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add Entra ID Auth0 connections (#2351)
Signed-off-by: Jacob Woffenden <[email protected]>
- Loading branch information
Jacob Woffenden
authored
Nov 14, 2023
1 parent
d055310
commit c1558ad
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
terraform/auth0/ministryofjustice-data-platform-development/auth0-connections.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
resource "auth0_connection" "justiceuk_data_platform_auth0_ministryofjustice_development" { | ||
name = "justiceuk-data-platform-auth0-ministryofjustice-development" | ||
display_name = "Ministry of Justice" | ||
strategy = "waad" | ||
|
||
show_as_button = true | ||
|
||
options { | ||
identity_api = "microsoft-identity-platform-v2.0" | ||
domain = "justiceuk.onmicrosoft.com" | ||
tenant_domain = "justiceuk.onmicrosoft.com" | ||
client_id = data.aws_secretsmanager_secret_version.entra_id_client_id.secret_string | ||
client_secret = data.aws_secretsmanager_secret_version.entra_id_client_secret.secret_string | ||
set_user_root_attributes = "on_each_login" | ||
should_trust_email_verified_connection = "always_set_emails_as_verified" | ||
waad_protocol = "openid-connect" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
terraform/auth0/ministryofjustice-data-platform/auth0-connections.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
resource "auth0_connection" "justiceuk_data_platform_auth0_ministryofjustice_production" { | ||
name = "justiceuk-data-platform-auth0-ministryofjustice-production" | ||
display_name = "Ministry of Justice" | ||
strategy = "waad" | ||
|
||
show_as_button = true | ||
|
||
options { | ||
identity_api = "microsoft-identity-platform-v2.0" | ||
domain = "justiceuk.onmicrosoft.com" | ||
tenant_domain = "justiceuk.onmicrosoft.com" | ||
client_id = data.aws_secretsmanager_secret_version.entra_id_client_id.secret_string | ||
client_secret = data.aws_secretsmanager_secret_version.entra_id_client_secret.secret_string | ||
set_user_root_attributes = "on_each_login" | ||
should_trust_email_verified_connection = "always_set_emails_as_verified" | ||
waad_protocol = "openid-connect" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters