Is your forum set to ‘login required’? If so, with SSO enabled the user will be automatically logged back in before being redirected to your logout page.
Is the logout page accessible to anonymous users? If not, the user will get a ‘page not found’ notice after logging out.