new configuration version

This commit is contained in:
aca 2025-06-04 07:03:19 +00:00
parent e91e06e1a9
commit e9460d00d5
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ spec:
podDisruptionBudget: podDisruptionBudget:
maxUnavailable: "50%" maxUnavailable: "50%"
git: git:
tag: "r-3fab31267c332ae6196564e54f92f81ee4f19d6a" tag: "r-96c71dfed47d4f1ab987933655eca864b70f86ec"
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth" dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
credentials: "git-credentials" credentials: "git-credentials"
keystores: keystores:

View File

@ -39,9 +39,7 @@ if(loa_str){
} }
// BUNDBITBK-5005: Set cookie to remember the last authentication method // BUNDBITBK-5005: Set cookie to remember the last authentication method
//response.setCookie("LOGINMETHOD", AUTHENTICATON_URN_TO_COOKIE_MAPPER[session.getAttribute('authenticatedWith')], "/", parameters.get('cookie.domain'), Duration.ofDays(7), true, true)
def agovAuthMethodCookie = "LOGINMETHOD=${AUTHENTICATON_URN_TO_COOKIE_MAPPER[session.getAttribute('authenticatedWith')]}; Domain=${parameters.get('cookie.domain')}; Path=/; Max-Age=1800; SameSite=Strict; Secure; HttpOnly" def agovAuthMethodCookie = "LOGINMETHOD=${AUTHENTICATON_URN_TO_COOKIE_MAPPER[session.getAttribute('authenticatedWith')]}; Domain=${parameters.get('cookie.domain')}; Path=/; Max-Age=1800; SameSite=Strict; Secure; HttpOnly"
LOG.error("AuthCookie: " + agovAuthMethodCookie)
response.setHeader('Set-Cookie2', agovAuthMethodCookie) response.setHeader('Set-Cookie2', agovAuthMethodCookie)
// delete the login cookie // delete the login cookie

View File

@ -204,6 +204,8 @@
<!-- source: pattern://f63c475c35b616b7c6c1901c --> <!-- source: pattern://f63c475c35b616b7c6c1901c -->
<GuiElem name="authRequestId" type="hidden" value="${sess:ch.nevis.auth.saml.request.id}" optional="true"/> <GuiElem name="authRequestId" type="hidden" value="${sess:ch.nevis.auth.saml.request.id}" optional="true"/>
<!-- source: pattern://f63c475c35b616b7c6c1901c --> <!-- source: pattern://f63c475c35b616b7c6c1901c -->
<GuiElem name="lastLoginMethod" type="hidden" value="${cookie:LOGINMETHOD}" optional="true"/>
<!-- source: pattern://f63c475c35b616b7c6c1901c -->
<GuiElem name="fallback" type="button" label="mobile_auth.cancel.button.label" value="true" optional="true"/> <GuiElem name="fallback" type="button" label="mobile_auth.cancel.button.label" value="true" optional="true"/>
</Gui> </Gui>
</Response> </Response>