SSO client link giving error 500

My guess is that the problem is because of what you are asking about here:

Could you try using the default WordPress .htaccess configuration and see if you are still getting an error?