I am trying to become familiar with Okta authentication with .net Core. Using Sample Application okta-aspnetcore-mvc-example, I have the login working and have worked through most issues just with trial and error and reading through the help here. However, i am stuck on an issue with Logout. I have not made any modifications to the logout url. MY base uri is http://localhost:8080. I have my route setup as /Account/PostLogout. I have registered http://localhost:8080/Account/Logout the logout URL in Okta and set this up in my configuration accordingly. I have also white listed http://localhost:8080.
When i attempt to logout, I recieve the following:
400 Bad Request
xxxxxxx-dev-415995 - Bad Request
Identity Provider:
Error Code: illegal_post_logout_redirect_uri
Description: The ‘post_logout_redirect_uri’ parameter must be an absolute URI that is whitelisted in the client app settings.
What am I doing wrong.