Skip to content

Commit

Permalink
Add configuration option for origin check (#914)
Browse files Browse the repository at this point in the history
Depends on PR cloudfoundry/uaa#2934
  • Loading branch information
strehle authored Jul 12, 2024
1 parent 1d6b716 commit ce712f1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/uaa/spec
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ properties:
the alias). Note that existing entities with an alias will not be removed when deactivating the flag. Instead, the
creation, update and deletion of identity providers and users with an alias is prohibited.
default: false
login.checkOriginEnabled:
description: "This flag enables the origin check in SCIM. Otherwise, the assignments of users to an origin are not validated."
default: false

# Email
login.notifications.url:
Expand Down
1 change: 1 addition & 0 deletions jobs/uaa/templates/config/uaa.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@
'idpDiscoveryEnabled' => p('login.idpDiscoveryEnabled'),
'accountChooserEnabled' => p('login.accountChooserEnabled'),
'aliasEntitiesEnabled' => p('login.aliasEntitiesEnabled'),
'checkOriginEnabled' => p('login.checkOriginEnabled'),
'entityBaseURL' => login_entityBaseUrl,
'entityID' => login_entityId,
'prompt' => {
Expand Down
1 change: 1 addition & 0 deletions spec/compare/all-properties-set-uaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ login:
idpDiscoveryEnabled: true
accountChooserEnabled: true
aliasEntitiesEnabled: true
checkOriginEnabled: true
entityBaseURL: http://all-properties-set:8888/uaa
entityID: all-properties-set:8888/uaa
prompt:
Expand Down
1 change: 1 addition & 0 deletions spec/compare/bosh-lite-uaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ login:
idpDiscoveryEnabled: false
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
entityBaseURL: https://login.bosh-lite.com
entityID: login.bosh-lite.com
prompt:
Expand Down
1 change: 1 addition & 0 deletions spec/compare/deprecated-properties-still-work-uaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ login:
idpDiscoveryEnabled: false
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
entityBaseURL: http://test.uaa.url
entityID: test.uaa.url
prompt:
Expand Down
1 change: 1 addition & 0 deletions spec/compare/test-defaults-uaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ login:
idpDiscoveryEnabled: false
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
entityBaseURL: http://test.uaa.url
entityID: test.uaa.url
prompt:
Expand Down
1 change: 1 addition & 0 deletions spec/input/all-properties-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ properties:
idpDiscoveryEnabled: true
accountChooserEnabled: true
aliasEntitiesEnabled: true
checkOriginEnabled: true
links:
global:
passwd: "https://{zone.subdomain}.myaccountmanager.domain.com/z/{zone.id}/forgot_password"
Expand Down

0 comments on commit ce712f1

Please sign in to comment.