Signout function not redirecting and flagging an error

Hi,
i am able to successfully sign in ,but unable to signout while clicking on signout(),
its flagging an error :-
"400

Bad Request

Your request resulted in an error. The ‘post_logout_redirect_uri’ parameter"

My configurations in okta app dashboard:-
In signin url:-https://sam.com/devuiapp/login/callback
signout url:-https://sam.com/devuiapp/

Kindly do the needful

Thanks,
Rohit M

What is your application sending as the post_logout_redirect_uri when it makes the /logout request? Does it match one of the Sign-out redirect URIs configured for your application within Okta?

If the post_logout_redirect_uri included in the /logout request does not match one of the registered Sign-out redirect URIs for your application in Okta, it is expected for the request to fail and you should see an error page on Okta saying the same.

Additional causes for errors with /logout endpoint can be found in our docs: OpenID Connect & OAuth 2.0 API | Okta Developer