File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,23 @@ will be forced into 2FA.
9494 */
9595
9696 // 'authncontextclassref' => 'https://refeds.org/profile/mfa',
97+
98+ /**
99+ * Earlier versions of the Authproc filter required the second factor
100+ * every time a new SP requested user auth, even if the user was already
101+ * (first-factor) authenticated at the IdP.
102+ * This can be seen as an inconvenience or a security feature, as it
103+ * mitigates even unlikely scenarios such as a session cookie theft.
104+ *
105+ * This new option makes the behaviour configurable.
106+ *
107+ * If set to null (default) or unset, the old behaviour is maintained.
108+ *
109+ * If set to an amount of seconds (i.e. integer value), second-factor auth
110+ * is requested only on initial authentication and if the last second-factor
111+ * was more than this amount of seconds ago.
112+ */
113+ // 'secondfactormaxage' => NULL,
97114],
98115```
99116
You can’t perform that action at this time.
0 commit comments