From 9e5c90d991fcabcd3ed2be09df5b0f40f0f9621e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 11 Aug 2014 09:03:57 +0200 Subject: [PATCH] saml-2.0: set NotOnOrAfter on the Conditions element (#5248) This is actually required for interoperability with Dropbox SAML support. --- lasso/saml-2.0/login.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index b5256ce..8594e6e 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -744,6 +744,7 @@ lasso_saml20_login_build_assertion(LassoLogin *login, assertion->Issuer = LASSO_SAML2_NAME_ID(lasso_saml2_name_id_new_with_string( LASSO_PROVIDER(profile->server)->ProviderID)); assertion->Conditions = LASSO_SAML2_CONDITIONS(lasso_saml2_conditions_new()); + lasso_assign_string(assertion->Conditions->NotOnOrAfter, notOnOrAfter); audience_restriction = LASSO_SAML2_AUDIENCE_RESTRICTION( lasso_saml2_audience_restriction_new()); -- 2.1.0.rc1