SSO credentials validity / forced logout

Since you are on WordPress, you could try making the request with the wp_remote_post function. That way you don’t have to deal with the curl options.