Use LinkedIn instead of LinkedIn OpenID Connect for better UI experience

Closes https://github.com/keycloak/keycloak/issues/24659

Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
rmartinc 2023-11-15 12:47:11 +01:00 committed by Alexander Schwartz
parent f9665acc29
commit 5fad76070a
4 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
.Procedure
. Click *Identity Providers* in the menu.
. From the `Add provider` list, select `LinkedIn OpenID Connect`.
. From the `Add provider` list, select `LinkedIn`.
+
.Add identity provider
image:images/linked-in-add-identity-provider.png[Add Identity Provider]

View file

@ -83,8 +83,8 @@ describe("Identity provider test", () => {
{ testName: "Google", displayName: "Google", alias: "google" },
{ testName: "Instagram", displayName: "Instagram", alias: "instagram" },
{
testName: "LinkedIn OpenID Connect",
displayName: "LinkedIn OpenID Connect",
testName: "LinkedIn",
displayName: "LinkedIn",
alias: "linkedin-openid-connect",
},
{ testName: "Microsoft", displayName: "Microsoft", alias: "microsoft" },

View file

@ -55,7 +55,7 @@ public class LinkedInOIDCIdentityProviderFactory extends AbstractIdentityProvide
@Override
public String getName() {
return "LinkedIn OpenID Connect";
return "LinkedIn";
}
@Override

View file

@ -919,7 +919,7 @@ public class IdentityProviderTest extends AbstractAdminTest {
response = realm.identityProviders().getIdentityProviders("linkedin-openid-connect");
Assert.assertEquals("Status", 200, response.getStatus());
body = response.readEntity(Map.class);
assertProviderInfo(body, "linkedin-openid-connect", "LinkedIn OpenID Connect");
assertProviderInfo(body, "linkedin-openid-connect", "LinkedIn");
response = realm.identityProviders().getIdentityProviders("microsoft");
Assert.assertEquals("Status", 200, response.getStatus());