-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the tests to work with drop_unregistered_scopes config
With #17551, we will enable the drop_unregistered_scopes by default [1]. If we did that, the above tests will get failed and we need to modify them accordingly to work with the newest changes [1] - wso2/carbon-identity-framework#5284
- Loading branch information
1 parent
9fe17a3
commit f3731a8
Showing
12 changed files
with
68 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...ests-integration/tests-backend/src/test/resources/artifacts/IS/xacml_scope_validator.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[server] | ||
hostname = "localhost" | ||
node_ip = "127.0.0.1" | ||
base_path = "https://$ref{server.hostname}:${carbon.management.port}" | ||
|
||
[super_admin] | ||
username = "admin" | ||
password = "admin" | ||
create_admin_account = true | ||
|
||
[user_store] | ||
type = "database_unique_id" | ||
|
||
[database.identity_db] | ||
driver = "$env{IDENTITY_DATABASE_DRIVER}" | ||
url = "$env{IDENTITY_DATABASE_URL}" | ||
username = "$env{IDENTITY_DATABASE_USERNAME}" | ||
password = "$env{IDENTITY_DATABASE_PASSWORD}" | ||
|
||
[database.shared_db] | ||
driver = "$env{SHARED_DATABASE_DRIVER}" | ||
url = "$env{SHARED_DATABASE_URL}" | ||
username = "$env{SHARED_DATABASE_USERNAME}" | ||
password = "$env{SHARED_DATABASE_PASSWORD}" | ||
|
||
[keystore.primary] | ||
file_name = "wso2carbon.jks" | ||
password = "wso2carbon" | ||
|
||
[oauth] | ||
drop_unregistered_scopes= false | ||
allowed_scopes= [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters