Handling when user clicks “logout” on discourse

(Techno Webtest) #1

Hello everyone
I am using discourse forum sso login its working fine, but logout redirect not working
I set up logout redirect Under Settings > Users -> logout redirect
but its not working, Please help me to find the solution

(Jay Pfaffman) #2

Welcome, @techno_webtest!

You don’t give us much to go on. I would check the logs on the SSO master and see if the call to the logout url is getting made. Then you can see whether to look at discourse or the SSO provider.

2 Likes
(Techno Webtest) #3

Hey Jay Pfaffman ,Thanks for the reply
I setup redirect logout url in the discourse forum but when I click on logout button of discourse forum then its not redirect me on the redirect logout url
I got this error in logs -> Uncaught TypeError: Cannot read property ‘getResponseHeader’ of undefined

I have set the redirect logout url like this -> Screenshot by Lightshot
Need to setup anything else on the discourse forum ?