Issue while logout

Hi,
I am using Spring boot 3 and Okta saml 2.0.for the logout i have given Post call from angular frontend using and in spring boot OktaSecurityConfiguration used http.saml2Logout(Customizer.withDefaults()).The problem I am facing is as soon as I click the logout button,request call goes to okta and at Post call HTTP://localhost:8080/logout/saml2/slo ,It shows invalid cors error on browser and in okta log in Saml2 Logout Response it shows status as AuthnFailed.Pl suggest.I have added necessary code for cors issue.

Hi,

Can you check that if you have added the endpoint in Trusted Origin. Also for SLO it might be useful going through this two article here

hello Sir,now for the dev deployment issue,i am able to solve the http/https issue.now I am facing another issue,after Succesfully processed saml response I am getting one more log that session id changes from xxxx and after this it again goes for authentication.Pl suggest.i am using spring boot three.I tried to set session creation policy as IF REQUUIRED and sessionFixation().migrateSession() but with this also shows session id changes after successfully processed saml response

Hello sir,
I am still getting invalid credential on screen after authentication is complete.When I see application log it shows Evaluating subjectConfirmationData@InResponseTo of:“some id”,valid InResponseTo was not available from validation context,unable to evaluate SubjectConfirmationData@InResponseTo,No Subject confirmation methodnwere met for assertion with ID “some id” and Found 2 validation error in saml response.Pl let me know about the above issue.Isuue I am facing on dev server only.On local it works perfect.

issue i am getting on dev server(aws eks code is deployed) only.same code runs perfect on local

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.