wso2-extensions / identity-outbound-auth-totp

Apache License 2.0
4 stars 95 forks source link

Add unlock-time url parameter when locked user #166

Closed hwupathum closed 1 year ago

hwupathum commented 1 year ago

When a user is locked following parameters are added to the URL if showAuthFailureReason is enabled

errorCode: 17003
lockedReason: MAX_TOTP_ATTEMPTS_EXCEEDED
unlockTime: <unlockTime>
authFailure: true
authFailureMsg: <authFailureMessage>

Auth failure message when account is locked can be changes by adding following config

[authentication.authenticator.totp.parameters]
accountLockAuthFailureMessage = "user.account.locked"

Related issue https://github.com/wso2/product-is/issues/16333

jenkins-is-staging commented 1 year ago

PR builder started Link: https://github.com/wso2/product-is/actions/runs/5936560625

jenkins-is-staging commented 1 year ago

PR builder completed Link: https://github.com/wso2/product-is/actions/runs/5936560625 Status: success