Open c00crane opened 1 year ago
This one's not limited to just private key JWT scenarios. I also see this running the Social_BasicConfigTests_badClientSecret test in the com.ibm.ws.security.social_fat.LibertyOP.1 bucket.
I moved the response committed checks from individual test cases to the @BeforeClass methods in
com.ibm.ws.security.oidc.client_fat.3/fat/src/com/ibm/ws/security/openidconnect/client/fat/IBM/OidcClientPrivateKeyJwtTests.java
com.ibm.ws.security.social_fat.LibertyOP.3/fat/src/com/ibm/ws/security/social/fat/LibertyOP/LibertyOP_Social_PrivateKeyJwtTests.java
When this is updated, could you remove this line?
clientServer.addIgnoredServerExceptions(MessageConstants.SRVE8094W_CANNOT_SET_HEADER_RESPONSE_COMMITTED, MessageConstants.SRVE8115W_CANNOT_SET_HEADER_RESPONSE_COMMITTED);
When I enable private key jwt in the openidconnectclient or oidcLogin configs, I see "SRVE8094W: WARNING: Cannot set header. Response already committed. " errors in the server side logs.
socialRspAlreadyComm.zip oidcRspAlreadyComm.zip