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

Revert "New Azure connection for entraid" #53

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions auth0.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,6 @@ resource "auth0_connection" "github_saml_connection" {
}
}

resource "auth0_connection" "azure_entraid_connection" {
display_name = "Azure EntraID PoC - Do not use"
name = "azure-entraid"
strategy = "waad"
show_as_button = true
options {
identity_api = "microsoft-identity-platform-v2.0"
client_id = var.auth0_azure_entraid_client_id
client_secret = var.auth0_azure_entraid_client_secret
app_id = auth0_client.saml.id
domain = var.auth0_azure_entraid_domain

waad_protocol = "openid-connect"
max_groups_to_retrieve = 50
api_enable_users = false
scopes = [
"basic_profile",
"ext_groups",

]
set_user_root_attributes = "on_each_login"
should_trust_email_verified_connection = "always_set_emails_as_verified"
}
}

# Auth0 actions
resource "auth0_action" "allow_github_organisations" {
name = "Allow specific GitHub Organisations and map SAML attributes"
Expand Down
19 changes: 0 additions & 19 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,3 @@ variable "auth0_aws_sso_issuer_url" {
type = string
sensitive = true
}

variable "auth0_azure_entraid_client_id" {
description = "Client id for the azures application"
type = string
sensitive = true
}

variable "auth0_azure_entraid_client_secret" {
description = "Client secret for the azures application"
type = string
sensitive = true
}

variable "auth0_azure_entraid_domain" {
description = "Azures application domain name"
type = string
sensitive = true

}
Loading