Logout 400 Bad Request (Logout URI already defined)

Hi,

I’ve followed the steps to resolve the 400 Bad Request error on logout. However this made no difference. From what I can see my settings are correct but the issue still occurs. What could possibly cause this?

Any help will be greatly appreciated as this is for an urgent project for work.

Thank you in advance.

Regards,
Kostya

URL when logging out:

https://dev-4003858.okta.com/oauth2/default/v1/logout?post_logout_redirect_uri=https%3A%2F%2Fsitecore-demo-rg-170970-single.azurewebsites.net%2Fidentity%2Fpostexternallogout%3Fnonce%3Dc6671394839644a8acbb6e928743ee4e%26ReturnUrl%3Dhttps%3a%2f%2fsitecore-demo-rg-170970-single.azurewebsites.net%2fidentity%2flogin%2fshell%2fSitecoreIdentityServer&id_token_hint=eyJraWQiOiJxVjdIUkpidHkwRkhkcDVYaXcwdlJhRTJoY1VEVkEwSEZMei1EODFhTFdrIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwMHUxZGR6ZXJXNHlVdUVoZjVkNiIsInZlciI6MSwiaXNzIjoiaHR0cHM6Ly9kZXYtNDAwMzg1OC5va3RhLmNvbS9vYXV0aDIvZGVmYXVsdCIsImF1ZCI6IjBvYTFmMGtxNWxzMUNzcU5DNWQ2IiwiaWF0IjoxNjA2NzA2NDg0LCJleHAiOjE2MDY3MTAwODQsImp0aSI6IklELnhGR1NycHdna0JrSTJlSVZocExISGZsOVZJUHh1cXZRUXRSc2Jaek1KbTQiLCJhbXIiOlsicHdkIl0sImlkcCI6IjAwbzFkZHphejIzV2RuVXRDNWQ2Iiwibm9uY2UiOiI2Mzc0MjMwMzI4Mzg0MzQyNTguT0RZMk9UbGlZMlV0T1RRMVlTMDBaREF3TFdJME5qRXROalUxT0dJd056UTFPVGN5WVRka1pEWmhNakl0Tm1RMVpTMDBZbUppTFRsaU9UZ3RNbU14TWpRd01qY3laalJqIiwiYXV0aF90aW1lIjoxNjA2Njk2NzY0LCJhdF9oYXNoIjoid2dPWUt1VTdmdTZ5ZUdETTJ2SVduZyIsImNfaGFzaCI6IjIxWUlqMHhKbzFvTExiRnRwc1F2RWcifQ.ceS5Q7BQEH6WCiyjhS_ZJ-DCCyIx4y1rasTeij-o0b3RvqDowVhMS7PAxUr45fGp3PtpHRKgjogp9d-g6x2ANbr3ZkSvM48rUCJurPr9NXJlT822NsoL1NWCB9ZJaCeoAz4-CmP_zlJkRtPu1oHqBVDR2mHANmmDC3koj-iPrgOw-cBruMTedBoXkjpzOJ58-sgH3qE2i5vCTj0IZnC3IpfF8QC0NNeM0Pa2XeJ1LtspvsILmSBL8UwwHr-LYf72ci8Iw46gXU5BTeGi7tTZN4S8JXoDVgIUY1GIEHs9UiQzHwMy1sAY2-XHlYdm8eaUBz8K7I77X76Crhb0NMG9eg&x-client-SKU=ID_NET461&x-client-ver=5.3.0.0

It’s hard to tell, but it looks like “Identity” might be capitalized in Okta, but the URI you’re sending has it as lowercase.

Hi,

When I logout from my application, the paratamter which is generated is as below :-
okta-dev-24929638 - Sign Inpost_logout_redirect_uri=http://localhost:8080/graphdb-web/

But this is not where I want to redirect my application. I want to redirect to the Okta main login page.

I defined logout uri as http://localhost:8080/graphdb-web/ then application redirects to the my landing page which is not required.
If I change my logout uri in okta app I get 404, as my brower shows post_logout_redirect_uri=http://localhost:8080/graphdb-web/

Please suggest