diff --git a/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/resources/authenticators.yaml b/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/resources/authenticators.yaml index c91bc6ab54..ea21836d52 100644 --- a/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/resources/authenticators.yaml +++ b/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/resources/authenticators.yaml @@ -207,6 +207,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION type: type: string enum: diff --git a/components/org.wso2.carbon.identity.api.server.configs/org.wso2.carbon.identity.api.server.configs.v1/src/main/resources/configs.yaml b/components/org.wso2.carbon.identity.api.server.configs/org.wso2.carbon.identity.api.server.configs.v1/src/main/resources/configs.yaml index 62a6e34f70..fc1dbfed10 100644 --- a/components/org.wso2.carbon.identity.api.server.configs/org.wso2.carbon.identity.api.server.configs.v1/src/main/resources/configs.yaml +++ b/components/org.wso2.carbon.identity.api.server.configs/org.wso2.carbon.identity.api.server.configs.v1/src/main/resources/configs.yaml @@ -1222,6 +1222,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION type: type: string enum: diff --git a/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java b/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java index 48be41ae8f..00bb11553b 100644 --- a/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java +++ b/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java @@ -1780,6 +1780,7 @@ private void updateFederatedAuthenticatorConfig(IdentityProvider idp, FederatedA } else { authConfig.setDefinedByType(IdentityConstants.DefinedByType.USER); } + authConfig.setAuthenticationType(IdentityConstants.AuthenticationType.EXTERNAL_ACCOUNT); List authProperties = authenticator.getProperties(); if (IdentityApplicationConstants.Authenticator.SAML2SSO.FED_AUTH_NAME.equals(authConfig.getName())) { @@ -2857,6 +2858,7 @@ private FederatedAuthenticatorConfig createFederatedAuthenticatorConfig(String f } else { authConfig.setDefinedByType(IdentityConstants.DefinedByType.USER); } + authConfig.setAuthenticationType(IdentityConstants.AuthenticationType.EXTERNAL_ACCOUNT); List authProperties = authenticator.getProperties(); if (IdentityApplicationConstants.Authenticator.SAML2SSO.FED_AUTH_NAME.equals(authenticatorName)) { validateSamlMetadata(authProperties); diff --git a/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/resources/idp.yaml b/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/resources/idp.yaml index f96e152c3a..8762339de9 100644 --- a/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/resources/idp.yaml +++ b/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/resources/idp.yaml @@ -2788,6 +2788,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION tags: type: array items: @@ -2814,6 +2819,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION tags: type: array items: @@ -2864,6 +2874,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION isDefault: type: boolean default: false @@ -2928,6 +2943,11 @@ components: enum: - SYSTEM - USER + AuthenticationType: + type: string + enum: + - AUTHENTICATION + - VERIFICATION tags: type: array items: