|
|
@ -17,6 +17,7 @@ |
|
|
|
|
|
|
|
package org.keycloak.social.discord; |
|
|
|
|
|
|
|
import org.keycloak.broker.oidc.OAuth2IdentityProviderConfig; |
|
|
|
import org.keycloak.broker.provider.AbstractIdentityProviderFactory; |
|
|
|
import org.keycloak.broker.social.SocialIdentityProviderFactory; |
|
|
|
import org.keycloak.models.IdentityProviderModel; |
|
|
@ -40,6 +41,11 @@ public class DiscordIdentityProviderFactory extends AbstractIdentityProviderFact |
|
|
|
return new DiscordIdentityProvider(session, new DiscordIdentityProviderConfig(model)); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public DiscordIdentityProviderConfig createConfig() { |
|
|
|
return new DiscordIdentityProviderConfig(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getId() { |
|
|
|
return PROVIDER_ID; |
|
|
|