Skip to content

Commit

Permalink
test(config-api) token test case failure (#10620)
Browse files Browse the repository at this point in the history
* feat(config-api): default ACR methods issue#10511

Signed-off-by: pujavs <[email protected]>

* feat(config-api): agama flow acr method

* fix(config-api): setting agama flow as auth method

Signed-off-by: pujavs <[email protected]>

* test(config-api) token test case failure #10619

Signed-off-by: pujavs <[email protected]>

* test(config-api) token test case failure #10619

Signed-off-by: pujavs <[email protected]>

---------

Signed-off-by: pujavs <[email protected]>
  • Loading branch information
pujavs authored Jan 14, 2025
1 parent 57c266a commit 8319c47
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 52 deletions.
14 changes: 7 additions & 7 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9337,19 +9337,19 @@ components:
type: string
selected:
type: boolean
whitePagesCanView:
adminCanEdit:
type: boolean
adminCanView:
type: boolean
userCanView:
type: boolean
userCanEdit:
type: boolean
userCanAccess:
type: boolean
adminCanAccess:
type: boolean
adminCanEdit:
userCanAccess:
type: boolean
adminCanView:
whitePagesCanView:
type: boolean
baseDn:
type: string
Expand Down Expand Up @@ -10211,6 +10211,8 @@ components:
type: boolean
lockMessageConfig:
$ref: '#/components/schemas/LockMessageConfig'
fapi:
type: boolean
allResponseTypesSupported:
uniqueItems: true
type: array
Expand All @@ -10220,8 +10222,6 @@ components:
- code
- token
- id_token
fapi:
type: boolean
AuthenticationFilter:
required:
- baseDn
Expand Down
45 changes: 28 additions & 17 deletions jans-config-api/plugins/docs/fido2-plugin-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,12 +560,8 @@ components:
type: array
items:
type: string
superGluuEnabled:
type: boolean
sessionIdPersistInCache:
type: boolean
oldU2fMigrationEnabled:
type: boolean
errorReasonEnabled:
type: boolean
fido2Configuration:
Expand All @@ -583,38 +579,53 @@ components:
type: string
checkU2fAttestations:
type: boolean
userAutoEnrollment:
debugUserAutoEnrollment:
type: boolean
unfinishedRequestExpiration:
type: integer
format: int32
authenticationHistoryExpiration:
metadataRefreshInterval:
type: integer
format: int32
serverMetadataFolder:
type: string
requestedCredentialTypes:
enabledFidoAlgorithms:
type: array
items:
type: string
requestedParties:
metadataServers:
type: array
items:
$ref: '#/components/schemas/RequestedParty'
metadataUrlsProvider:
type: string
skipDownloadMdsEnabled:
type: boolean
skipValidateMdsInAttestationEnabled:
$ref: '#/components/schemas/MetadataServer'
disableMetadataService:
type: boolean
assertionOptionsGenerateEndpointEnabled:
hints:
type: array
items:
type: string
enterpriseAttestation:
type: boolean
attestationMode:
type: string
rp:
type: array
items:
$ref: '#/components/schemas/RequestedParty'
MetadataServer:
type: object
properties:
url:
type: string
certificateDocumentInum:
type: array
items:
type: string
RequestedParty:
type: object
properties:
name:
id:
type: string
domains:
origins:
type: array
items:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,6 @@
],
"value": true,
"displayValue": true
},
{
"name": "secretAnswer",
"multiValued": false,
"values": [
"james-bond@123"
],
"value": "james-bond@123",
"displayValue": "james-bond@123"
},
{
"name": "jansImsValue",
"multiValued": true,
"values": [{
"value": "123456",
"display": "Home phone",
"type": "home",
"primary": true
},
{
"value": "9821789",
"display": "Work phone",
"type": "work",
"primary": false
}

]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Background:
Scenario: Fetch all client token
Given url mainUrl
When method GET
Then status 401
Then status 404
And print response

@ignore
Expand Down

0 comments on commit 8319c47

Please sign in to comment.