[FOLIO-3554] Karate test fail mod-login-saml: access-control-allow-credentials Created: 08/Aug/22  Updated: 11/Aug/22  Resolved: 11/Aug/22

Status: Closed
Project: FOLIO
Components: Continuous Integration
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Adam Dickmeiss Assignee: Adam Dickmeiss
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to OKAPI-1104 Cookie handling / auhorization Closed
Sprint: CP Sprint 146
Story Points: 1
Development Team: Core: Platform
RCA Group: TBD

 Description   

Karate test fail for mod-login-saml:

 

11:20:49.763 [main] ERROR com.intuit.karate - classpath:core_platform/mod-login-saml/features/samlCallback.feature:34
And match responseHeaders contains \{ 'access-control-allow-credentials': '#notpresent' }
match failed: CONTAINS
  $ | actual does not contain expected | all key-values did not match, expected has un-matched keys - [access-control-allow-credentials] (MAP:MAP)
  {"date":["Mon, 08 Aug 2022 09:20:49 GMT"],"access-control-allow-origin":["https://folio-snapshot-okapi.dev.folio.org:443"],"access-control-allow-credentials":["true"],"access-control-max-age":["7200"],"access-control-allow-
headers":["content-type,X-Okapi-Tenant,X-Okapi-Token,Authorization,X-Okapi-Request-Id,X-Okapi-Module-Id,Credentials"],"connection":["keep-alive"],"access-control-allow-methods":["PUT,PATCH,DELETE,GET,POST"]}
  \{"access-control-allow-credentials":"#notpresent"}

    $['access-control-allow-credentials'] | present (LIST:STRING)
    ["true"]
    '#notpresent'
 

https://github.com/folio-org/folio-integration-tests/blob/af40725e88309c648226656f8feddae593f419c5/mod-login-saml/src/main/resources/core_platform/mod-login-saml/features/samlCallback.feature#L34

This could be a problem with CORS changes to Okapi OKAPI-1104 Closed .


Generated at Thu Feb 08 23:28:59 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.