Skip to content

Commit

Permalink
test(config-api): fixed incorrect value for emailVerified in test scr…
Browse files Browse the repository at this point in the history
…ipt (#3128)

* fix(config-api): agama string format

* fix(config-api): test json fix for boolean value

* fix(config-api): test json fix for boolean value
  • Loading branch information
pujavs authored Nov 30, 2022
1 parent 067405a commit 3a905ef
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 323 deletions.
268 changes: 82 additions & 186 deletions jans-config-api/docs/jans-config-api-swagger-auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1666,19 +1666,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -1786,19 +1778,11 @@ paths:
"refresh_token"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -1901,19 +1885,11 @@ paths:
"client_credentials"
],
"applicationType": "native",
"clientName": {
"values": {
"": "SCIM client"
},
"value": "SCIM client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "SCIM client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"tokenEndpointAuthMethod": "client_secret_basic",
"scopes": [
Expand Down Expand Up @@ -1984,19 +1960,11 @@ paths:
"urn:ietf:params:oauth:grant-type:device_code"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Role Based Client"
},
"value": "Jans Role Based Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Role Based Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"userInfoSignedResponseAlg": "RS256",
Expand Down Expand Up @@ -2077,19 +2045,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Test Client (don't remove)"
},
"value": "Jans Test Client (don't remove)",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Test Client (don't remove)",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "public",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -2157,19 +2117,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Test Resource Server Client (don't remove)"
},
"value": "Jans Test Resource Server Client (don't remove)",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Test Resource Server Client (don't remove)",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "public",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -2230,19 +2182,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Test Requesting Party Client (don't remove)"
},
"value": "Jans Test Requesting Party Client (don't remove)",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Test Requesting Party Client (don't remove)",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "public",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -2297,19 +2241,11 @@ paths:
"authorization_code"
],
"applicationType": "web",
"clientName": {
"values": {
"": "test1234"
},
"value": "test1234",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "test1234",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "public",
"tokenEndpointAuthMethod": "client_secret_basic",
"scopes": [
Expand Down Expand Up @@ -2371,19 +2307,11 @@ paths:
"authorization_code"
],
"applicationType": "web",
"clientName": {
"values": {
"": "test12345"
},
"value": "test12345",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "test12345",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "public",
"tokenEndpointAuthMethod": "client_secret_basic",
"scopes": [
Expand Down Expand Up @@ -2548,19 +2476,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -2770,19 +2690,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -2925,19 +2837,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -3116,19 +3020,11 @@ paths:
"client_credentials"
],
"applicationType": "web",
"clientName": {
"values": {
"": "Jans Config Api Client"
},
"value": "Jans Config Api Client",
"languageTags": [
""
]
},
"logoUri": {},
"clientUri": {},
"policyUri": {},
"tosUri": {},
"clientName": "Jans Config Api Client",
"logoUri": "",
"clientUri": "",
"policyUri": "",
"tosUri": "",
"subjectType": "pairwise",
"idTokenSignedResponseAlg": "RS256",
"tokenEndpointAuthMethod": "client_secret_basic",
Expand Down Expand Up @@ -7185,19 +7081,19 @@ components:
$ref: '#/components/schemas/AttributeValidation'
tooltip:
type: string
adminCanEdit:
whitePagesCanView:
type: boolean
userCanEdit:
userCanView:
type: boolean
adminCanView:
userCanEdit:
type: boolean
userCanView:
userCanAccess:
type: boolean
adminCanAccess:
type: boolean
userCanAccess:
adminCanView:
type: boolean
whitePagesCanView:
adminCanEdit:
type: boolean
baseDn:
type: string
Expand Down Expand Up @@ -8350,15 +8246,6 @@ components:
$ref: '#/components/schemas/EngineConfig'
ssaConfiguration:
$ref: '#/components/schemas/SsaConfiguration'
allResponseTypesSupported:
uniqueItems: true
type: array
items:
type: string
enum:
- code
- token
- id_token
enabledFeatureFlags:
uniqueItems: true
type: array
Expand Down Expand Up @@ -8386,6 +8273,15 @@ components:
- STAT
- PAR
- SSA
allResponseTypesSupported:
uniqueItems: true
type: array
items:
type: string
enum:
- code
- token
- id_token
fapi:
type: boolean
AuthenticationFilter:
Expand Down Expand Up @@ -8644,13 +8540,13 @@ components:
type: boolean
internal:
type: boolean
locationPath:
type: string
locationType:
type: string
enum:
- ldap
- file
locationPath:
type: string
baseDn:
type: string
ScriptError:
Expand Down
Loading

0 comments on commit 3a905ef

Please sign in to comment.