-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate handling of duplicated scopes in standard based OIDC IdPs
- Loading branch information
1 parent
85b690a
commit 525880f
Showing
3 changed files
with
133 additions
and
0 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
61 changes: 61 additions & 0 deletions
61
...rg/wso2/identity/integration/test/rest/api/server/idp/v1/add-idp-oidc-standard-based.json
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,61 @@ | ||
{ | ||
"name": "OIDC IdP", | ||
"alias": "", | ||
"description": "Authenticate users with Enterprise OIDC connections.", | ||
"image": "assets/images/logos/enterprise.svg", | ||
"isPrimary": false, | ||
"roles": { | ||
"mappings": [], | ||
"outboundProvisioningRoles": [] | ||
}, | ||
"certificate": { | ||
"jwksUri": "https://test.com/jwks", | ||
"certificates": [ | ||
"" | ||
] | ||
}, | ||
"claims": { | ||
"userIdClaim": { | ||
"uri": "" | ||
}, | ||
"provisioningClaims": [], | ||
"roleClaim": { | ||
"uri": "" | ||
} | ||
}, | ||
"federatedAuthenticators": { | ||
"defaultAuthenticatorId": "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I", | ||
"authenticators": [ | ||
{ | ||
"isEnabled": true, | ||
"authenticatorId": "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I", | ||
"properties": [ | ||
{ | ||
"key": "ClientId", | ||
"value": "abcd1234wxyz5678ijklmnopqrst9012" | ||
}, | ||
{ | ||
"key": "ClientSecret", | ||
"value": "mnop3456qrst1234uvwx5678abcd9012" | ||
}, | ||
{ | ||
"key": "OAuth2AuthzEPUrl", | ||
"value": "https://test.com/authz" | ||
}, | ||
{ | ||
"key": "OAuth2TokenEPUrl", | ||
"value": "https://test.com/token" | ||
}, | ||
{ | ||
"key": "callbackUrl", | ||
"value": "https://test.com/commonauth" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"homeRealmIdentifier": "", | ||
"isFederationHub": false, | ||
"idpIssuerName": "", | ||
"templateId": "enterprise-oidc-idp" | ||
} |
15 changes: 15 additions & 0 deletions
15
...gration/test/rest/api/server/idp/v1/update-idp-oidc-standard-based-duplicated-scopes.json
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,15 @@ | ||
{ | ||
"authenticatorId": "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I", | ||
"isEnabled": true, | ||
"isDefault": true, | ||
"properties": [ | ||
{ | ||
"key": "commonAuthQueryParams", | ||
"value": "scope=openid country profile" | ||
}, | ||
{ | ||
"key": "Scopes", | ||
"value": "openid country profile" | ||
} | ||
] | ||
} |