This error message denoting authentication failure would be because of an error in setting up the SSO. To analyse this, we would require the debug log. Please enter ?debug=1 at the end of the URL that is generated, to retrieve the debug log


Also, please check the constructed URL after the login, to see if the Hash is generated or not. 


If the issue persists, please send an email to support@freshdesk.com.