Skip to content

Commit d6819b4

Browse files
committed
document second-factor requirement cadence
1 parent 0f5336f commit d6819b4

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)