diff --git a/.changeset/lazy-eels-remember.md b/.changeset/lazy-eels-remember.md new file mode 100644 index 00000000000..d14f330d946 --- /dev/null +++ b/.changeset/lazy-eels-remember.md @@ -0,0 +1,5 @@ +--- +"@wso2is/identity-apps-core": patch +--- + +Add SSO authenticator logo diff --git a/identity-apps-core/apps/authentication-portal/src/main/webapp/login.jsp b/identity-apps-core/apps/authentication-portal/src/main/webapp/login.jsp index 32022f1651e..2a20b64dcbd 100755 --- a/identity-apps-core/apps/authentication-portal/src/main/webapp/login.jsp +++ b/identity-apps-core/apps/authentication-portal/src/main/webapp/login.jsp @@ -70,6 +70,7 @@ private static final String GITHUB_AUTHENTICATOR = "GithubAuthenticator"; private static final String FACEBOOK_AUTHENTICATOR = "FacebookAuthenticator"; private static final String OIDC_AUTHENTICATOR = "OpenIDConnectAuthenticator"; + private static final String SSO_AUTHENTICATOR_NAME = "SSO"; private static final String MICROSOFT_IDP = "Microsoft"; private static final String ENTERPRISE_USER_LOGIN_AUTHENTICATOR = "EnterpriseIDPAuthenticator"; private static final String ENTERPRISE_USER_LOGIN_ORG = "EnterpriseIDP_Org"; @@ -654,6 +655,10 @@ if (StringUtils.startsWithIgnoreCase(idpDisplayName, EXTERNAL_CONNECTION_PREFIX)) { idpDisplayName = idpDisplayName.substring(EXTERNAL_CONNECTION_PREFIX.length()); } + // If IdP name is "SSO", need to handle as special case. + if (StringUtils.equalsIgnoreCase(idpName, SSO_AUTHENTICATOR_NAME)) { + imageURL = "libs/themes/default/assets/images/identity-providers/sso.svg"; + } %> <% if (isHubIdp) { %>