[SAMLv2] also initialize Destination for response messages
asynchronous bindings needs Destination attribute even for response messages.
This commit is contained in:
parent
7386dc8189
commit
4c3af26a58
|
@ -1248,6 +1248,11 @@ lasso_saml20_profile_build_response_msg(LassoProfile *profile, char *service,
|
|||
}
|
||||
}
|
||||
|
||||
if (url) {
|
||||
lasso_assign_string(((LassoSamlp2StatusResponse*)profile->response)->Destination,
|
||||
url);
|
||||
}
|
||||
|
||||
switch (method) {
|
||||
case LASSO_HTTP_METHOD_POST:
|
||||
rc = lasso_saml20_profile_build_post_response_msg(profile, url);
|
||||
|
|
Loading…
Reference in New Issue