[SAMLv2] when AuthnRequest contains invalid attributes returns INVALID_REQUEST not NO_DEFAULT_ENDPOINT

This is the right status to return.
This commit is contained in:
Benjamin Dauvergne 2010-08-25 15:41:55 +02:00
parent 72e581f8cf
commit fc9c2738c6
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ lasso_saml20_login_process_authn_request_msg(LassoLogin *login, const char *auth
(authn_request->AssertionConsumerServiceURL != NULL)) &&
(authn_request->AssertionConsumerServiceIndex != -1))
{
rc = LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT;
rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
goto cleanup;
}