فاطمه شریفی
فاطمه شریفی

Reputation: 71

WSO2 Identity Server 5.7.0 Oauth/OpenId Connect Logout has Error about session state?

WSO2 Identity Server 5.7.0 Oauth/OpenId Connect Logout has Error about session state?

this is my error:

access_denied opbs cookie not received Missing session state.

and this is my code:

 client = new HttpClient();
 var response3 = await client.GetAsync("https://localhost:9443/oidc/logout?id_token_hint=" + id_token + "&post_logout_redirect_uri=http://localhost:49545/Home/Contact");
       

Upvotes: 0

Views: 493

Answers (1)

Sajith
Sajith

Reputation: 1269

This logout request has to be sent via the browser. If you sent the logout request as a backend request, the relevant cookies will not be passed and the logout will not be processed correctly since WSO2 IS is looking for the the cookies in order to proceed.

Upvotes: 2

Related Questions