NetCore Bad Request on Signout

Using the SocialMedia solution I was able to get a sample project up and running and to log into FaceBook. However, when I use the SignOut link, I get a ERROR 400 and a js error of

illegal_post_logout_redirect_uri, error.description The ‘post_logout_redirect_uri’ parameter must be an absolute URI that is whitelisted in the client app settings_
logout?

with the below partial url

post_logout_redirect_uri=https%3A%2F%2Flocalhost%3A44349%2Fsignout%2Fcallback…

I’ve tried both https://localhost:44349/signout-callback-oidc AND https://localhost:44349/account/signout in the Logout Direct URI

I also whitelisted https://localhost:44349/ and allowed CORS and redirect

Not sure what I’m doing wrong

Turns out all I need for my signout was

https://mydoman/signout/callback

I can’t see how to close this question.

1 Like

Hi @TimCadieux

I went ahead and archived this topic. Thank you for the follow-up and letting us know the resolution.