Lets say we have a hard line policy of iprange OR totp and no grace. So you must login on a secure network, setup totp, to enable use in the wild.
Lets say a user doesn't do that, they are outside, they will just be denied access. Now we could just have a generic 'you don't have enough factors' message, but it's not that great. We could allow it to be overridden, and thats ok but it's extra work.
Instead we should generate a 'possibly way to login' if one exists. ie lets assume they have 0 points of 'needs setup' factors, but there is 100 points of 'no setup' factors. Then it should say 'if you want to login, you need to be on a secure network, and then you can setup MFA'
Maybe we can structure it so we can use the same chunks of language for both use cases (but might get awkward quickly)
This is the reverse case of: https://github.com/catalyst/moodle-tool_mfa/issues/54
Lets say we have a hard line policy of iprange OR totp and no grace. So you must login on a secure network, setup totp, to enable use in the wild.
Lets say a user doesn't do that, they are outside, they will just be denied access. Now we could just have a generic 'you don't have enough factors' message, but it's not that great. We could allow it to be overridden, and thats ok but it's extra work.
Instead we should generate a 'possibly way to login' if one exists. ie lets assume they have 0 points of 'needs setup' factors, but there is 100 points of 'no setup' factors. Then it should say 'if you want to login, you need to be on a secure network, and then you can setup MFA'
Maybe we can structure it so we can use the same chunks of language for both use cases (but might get awkward quickly)