Skip to content

Commit

Permalink
Upgrade Keycloak version to 11.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminFavre committed Sep 20, 2020
1 parent 83201c7 commit acbc8e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,26 @@ The present extension addresses all these requirements.

## Installation

[Follow Keycloak instructions](https://www.keycloak.org/docs/latest/server_development/index.html#using-the-keycloak-deployer)
1. Download the latest release of the provider JAR file [here](https://github.com/BenjaminFavre/keycloak-apple-social-identity-provider/releases).
2. Install the provider JAR file following Keycloak instructions [there](https://www.keycloak.org/docs/latest/server_development/index.html#using-the-keycloak-deployer).

## Configuration

* When adding an identity provider, select *Apple*.
* Fill *Client secret* with the base 64 content of your private key file (trim delimiters and new lines).
* Fill *Team ID* and *Key ID* with corresponding values found in Apple Developper console.
In Keycloak admin console:
1. Add an identity provider and select *Apple*.
2. Fill *Client secret* with the base 64 content of your private key file (trim delimiters and new lines).

e.g., if your private key is:

-----BEGIN PRIVATE KEY-----
Rp6vMlHPYTHnyucsPvFk8gTzdYtTueMbmVznAtkUKhD9HPcI3bLKDrr0b2mNJLfS
tsyvhbpyMUIpaffKQcY7IUuM20ecYBjiyjkLuX5eDQUInWUINfCCyXQnNdSU4K1j
2z4IJrvacQz1PFrL0Tj4lt72jSxikzMBHWsGdFyT90bx0R26GR4YCudKxltozVrK
PsUC1cdy
-----END PRIVATE KEY-----

then you should set *Client secret* with:

Rp6vMlHPYTHnyucsPvFk8gTzdYtTueMbmVznAtkUKhD9HPcI3bLKDrr0b2mNJLfStsyvhbpyMUIpaffKQcY7IUuM20ecYBjiyjkLuX5eDQUInWUINfCCyXQnNdSU4K1j2z4IJrvacQz1PFrL0Tj4lt72jSxikzMBHWsGdFyT90bx0R26GR4YCudKxltozVrKPsUC1cdy

3. Fill *Team ID* and *Key ID* with corresponding values found in Apple Developper console.
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.benjaminfavre</groupId>
<artifactId>apple-social-identity-provider</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1</version>
<name>Apple Social Identity Provider</name>
<description>Apple Social Identity Provider for Keycloak</description>
<url>https://github.com/BenjaminFavre/keycloak-apple-social-identity-provider</url>
Expand All @@ -16,16 +16,14 @@
<developer>
<name>Benjamin Favre</name>
<email>benjamin.favre@gmail.com</email>
<organization>ZOL</organization>
<organizationUrl>https://zol.fr/</organizationUrl>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<keycloak.version>9.0.2</keycloak.version>
<keycloak.version>11.0.2</keycloak.version>
</properties>

<build>
Expand Down

0 comments on commit acbc8e0

Please sign in to comment.