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

Add configuration option for origin loop #923

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
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