Skip to content

Commit

Permalink
Add configuration option for origin loop
Browse files Browse the repository at this point in the history
Depends on PR cloudfoundry/uaa#2932
  • Loading branch information
strehle committed Jul 12, 2024
1 parent ce712f1 commit 8e72479
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 @@ -451,6 +451,9 @@ properties:
login.checkOriginEnabled:
description: "This flag enables the origin check in SCIM. Otherwise, the assignments of users to an origin are not validated."
default: false
login.allowOriginLoop:
description: "This flag enables the loop over all origin of a certain type during login, e.g. all SAML or OIDC providers in case of such a logon. Otherwise, only index access is allowed."
default: true

# 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 @@ -672,6 +672,7 @@
'accountChooserEnabled' => p('login.accountChooserEnabled'),
'aliasEntitiesEnabled' => p('login.aliasEntitiesEnabled'),
'checkOriginEnabled' => p('login.checkOriginEnabled'),
'allowOriginLoop' => p('login.allowOriginLoop'),
'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 @@ -348,6 +348,7 @@ login:
accountChooserEnabled: true
aliasEntitiesEnabled: true
checkOriginEnabled: true
allowOriginLoop: false
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 @@ -266,6 +266,7 @@ login:
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
allowOriginLoop: true
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 @@ -220,6 +220,7 @@ login:
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
allowOriginLoop: true
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 @@ -171,6 +171,7 @@ login:
accountChooserEnabled: false
aliasEntitiesEnabled: false
checkOriginEnabled: false
allowOriginLoop: true
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 @@ -40,6 +40,7 @@ properties:
accountChooserEnabled: true
aliasEntitiesEnabled: true
checkOriginEnabled: true
allowOriginLoop: false
links:
global:
passwd: "https://{zone.subdomain}.myaccountmanager.domain.com/z/{zone.id}/forgot_password"
Expand Down

0 comments on commit 8e72479

Please sign in to comment.