[id-ff 1.2] provision the SessionIndex into the assertions
Without it SLO session management is broken.
This commit is contained in:
parent
b016558d06
commit
26b341a276
|
@ -401,6 +401,12 @@ lasso_login_build_assertion(LassoLogin *login,
|
|||
}
|
||||
}
|
||||
|
||||
/* add session index */
|
||||
if (lasso_provider_get_first_http_method(&login->parent.server->parent,
|
||||
provider, LASSO_MD_PROTOCOL_TYPE_SINGLE_LOGOUT) != LASSO_HTTP_METHOD_NONE) {
|
||||
lasso_assign_string(as->SessionIndex, assertion->AssertionID);
|
||||
}
|
||||
|
||||
assertion->AuthenticationStatement = LASSO_SAML_AUTHENTICATION_STATEMENT(as);
|
||||
|
||||
/* Save signing material in assertion private datas to be able to sign later */
|
||||
|
|
Loading…
Reference in New Issue