From 3d6e3123c90c4266b25fa42deb8f05d9d2d928a7 Mon Sep 17 00:00:00 2001 From: Shenali Date: Tue, 8 Aug 2023 15:55:16 +0530 Subject: [PATCH] refactor: update default callback URL regex pattern in self registration and account recovery --- .../org.wso2.carbon.identity.core.server.feature.default.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json index 996b107d39b4..4b3154bf5569 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json @@ -302,7 +302,7 @@ "scim2.consider_total_records_for_total_results_of_ldap": false, "identity_mgt.recovery.notification.manage_internally": true, - "identity_mgt.recovery.callback_url": "[${carbon.protocol}://${carbon.host}:${carbon.management.port}].*[/authenticationendpoint/login.do]*", + "identity_mgt.recovery.callback_url": "${carbon.protocol}:\\/\\/${carbon.host}:${carbon.management.port}\\/.*", "identity_mgt.recovery.enable_detailed_error_messages": false, "identity_mgt.recovery.enable_auto_login": false, "identity_mgt.recovery.notify_user_existence": false, @@ -383,7 +383,7 @@ "identity_mgt.user_self_registration.notify_account_confirmation": false, "identity_mgt.user_self_registration.enable_recaptcha": true, "identity_mgt.user_self_registration.verification_email_validity": "$ref{identity_mgt.default_mail_validity_period}", - "identity_mgt.user_self_registration.callback_url": "[${carbon.protocol}://${carbon.host}:${carbon.management.port}].*[/authenticationendpoint/login.do]*", + "identity_mgt.user_self_registration.callback_url": "${carbon.protocol}:\\/\\/${carbon.host}:${carbon.management.port}\\/.*", "identity_mgt.user_self_registration.enable_resend_confirmation_recaptcha": false, "identity_mgt.user_self_registration.auto_login.enable": false, "identity_mgt.user_self_registration.auto_login.alias_name": "wso2carbon",