Skip to content

Commit

Permalink
feat(applications): added support for adding custom logos to applicat…
Browse files Browse the repository at this point in the history
…ions (#140)
  • Loading branch information
SanderBlom authored Jul 31, 2024
1 parent 3ff755f commit be3dca5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/azuread_application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "azuread_application" "app" {
display_name = var.azuread_application.display_name
owners = var.owners
sign_in_audience = var.azuread_application.sign_in_audience
logo_image = var.azuread_application.logo_image
group_membership_claims = var.azuread_application.group_membership_claims
identifier_uris = var.azuread_application.identifier_uris
prevent_duplicate_names = var.azuread_application.prevent_duplicate_names
Expand Down
Binary file added test/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions test/test_applications.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module "station-applications" {
prevent_duplicate_names = true
fallback_public_client_enabled = true
notes = "This is a test application created by Station"
logo_image = filebase64("./assets/logo.png")

single_page_application = {
redirect_uris = ["https://station-test.example/spa"]
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ variable "applications" {
type = map(object({
display_name = string
owners = optional(list(string))
logo_image = optional(string) #Base64 encoded image
sign_in_audience = optional(string)
group_membership_claims = optional(list(string))
identifier_uris = optional(list(string))
Expand Down

0 comments on commit be3dca5

Please sign in to comment.