Skip to content

Commit

Permalink
Merge pull request #2662 from somindatommy/recovery_apis
Browse files Browse the repository at this point in the history
New configs for new user recovery endpoint
  • Loading branch information
emswbandara authored Jan 9, 2020
2 parents 2427eac + c0a49d3 commit 3e96f56
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -857,8 +857,17 @@
</Username>
</ReCaptcha>
<Notification>
<ExpiryTime>
<!--Validity period of the recovery code given when username or password recovery is initiated-->
<RecoveryCode>{{identity_mgt.notification_channel_recovery.recovery_code_validity}}</RecoveryCode>
<!--Validity period of the resend code given during user account recovery-->
<ResendCode>{{identity_mgt.resend_notification.resend_code_validity}}</ResendCode>
</ExpiryTime>
<Password>
<Enable>{{identity_mgt.password_reset_email.enable_password_reset_email}}</Enable>
<ExpiryTime>
<smsOtp>{{identity_mgt.password_reset_sms.sms_otp_validity}}</smsOtp>
</ExpiryTime>
</Password>
<Username>
<Enable>{{identity_mgt.username_recovery.email.enable_username_recovery}}</Enable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,11 @@
"identity_mgt.endpoint.enable_recovery_endpoint": true,
"identity_mgt.endpoint.enable_self_signup_endpoint": true,
"identity_mgt.password_reset_email.enable_password_reset_email": false,
"identity_mgt.password_reset_sms.sms_otp_validity": "1m",
"identity_mgt.password_reset_email.enable_recaptcha": false,
"identity_mgt.password_reset_email.reset_mail_validity": "$ref{identity_mgt.default_mail_validity_period}",
"identity_mgt.notification_channel_recovery.recovery_code_validity": "1m",
"identity_mgt.resend_notification.resend_code_validity": "1m",
"identity_mgt.password_reset_email.notify_on_reset":false,

"identity_mgt.password_reset_challenge_questions.enable_password_reset_challenge_questions": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"entitlement.thrift.client_timeout": "ms",

"identity_mgt.default_mail_validity_period": "m",
"identity_mgt.notification_channel_recovery.recovery_code_validity": "m",
"identity_mgt.resend_notification.resend_code_validity": "m",
"identity_mgt.password_reset_sms.sms_otp_validity": "m",
"identity_mgt.password_reset_email.reset_mail_validity": "m",
"identity_mgt.user_onboarding.verification_email_validity": "m",
"identity_mgt.user_onboarding.ask_password_email_validity": "m",
Expand Down

0 comments on commit 3e96f56

Please sign in to comment.