I am using KeyCloak Standalone as single Sign on Provider . I have two dotnet core application hosted at abc.goal.com & xyz..goal.com. The way I am SLO(single logout) is being done in two steps. Inside the LogOut Function
1. await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
after that
2. `POST http://localhost:8080/auth/realms/<my_realm>/protocol/openid-connect/logout`
This does SLO when localhost but doesn't work when hosted in different domains or when tested on ngrok
Please help , I am stuck
According to documentation, redirect user to URL:
http://auth-server/auth/realms/{realm-name}/protocol/openid-connect/logout?redirect_uri=encodedRedirectUri