Skip to content

Commit

Permalink
0.2.0-ALPHA
Browse files Browse the repository at this point in the history
fix for 12.0.0
  • Loading branch information
danny8376 committed Mar 7, 2021
1 parent 10bbb08 commit ab65c0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ With this library you can log in into Keycloak via [Baidu](https://www.baidu.com
## Keycloak versions

It was tested against Keycloak versions:
+ 5.0.0
+ 12.0.4

## How to use it
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ plugins {
repositories {
mavenLocal()
maven {
url = 'http://repo.maven.apache.org/maven2'
url = 'https://repo.maven.apache.org/maven2'
}
}

dependencies {
compileOnly 'org.keycloak:keycloak-services:5.0.0'
compileOnly 'org.keycloak:keycloak-server-spi:5.0.0'
compileOnly 'org.keycloak:keycloak-server-spi-private:5.0.0'
compileOnly 'org.keycloak:keycloak-services:12.0.0'
compileOnly 'org.keycloak:keycloak-server-spi:12.0.0'
compileOnly 'org.keycloak:keycloak-server-spi-private:12.0.0'
}

group = 'moe.saru.keycloak'
version = '0.1.0-ALPHA'
version = '0.2.0-ALPHA'
description = 'Identity Provider - Baidu'
sourceCompatibility = '1.8'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public BaiduIdentityProvider create(KeycloakSession session, IdentityProviderMod
return new BaiduIdentityProvider(session, new OAuth2IdentityProviderConfig(model));
}

@Override
public OAuth2IdentityProviderConfig createConfig() {
return new OAuth2IdentityProviderConfig();
}

@Override
public String getId() {
return PROVIDER_ID;
Expand Down

0 comments on commit ab65c0a

Please sign in to comment.