mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-07 23:50:03 -05:00
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>
(cherry picked from commit 5fad76070a)
This commit is contained in:
committed by
Alexander Schwartz
parent
46821fec0c
commit
d17e3bf1d7
@@ -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]
|
||||
|
||||
@@ -81,8 +81,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" },
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ public class LinkedInOIDCIdentityProviderFactory extends AbstractIdentityProvide
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "LinkedIn OpenID Connect";
|
||||
return "LinkedIn";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -875,7 +875,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());
|
||||
|
||||
Reference in New Issue
Block a user