You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

6 years ago
6 years ago
6 years ago
  1. # keycloak-discord
  2. Keycloak Social Login extension for Discord.
  3. ## Install
  4. Download `keycloak-discord-ear-<version>.ear` from [Releases page](https://github.com/wadahiro/keycloak-discord/releases).
  5. Then deploy it into `$KEYCLOAK_HOME/standalone/deployments/` directory.
  6. ## Setup
  7. ### Discord
  8. Access to [Discord Developer Portal](https://discordapp.com/developers/applications/#top) and create your application.
  9. You can get Client ID and Client Secret from the created application.
  10. ### Keycloak
  11. 1. Open `Themes` setting page in `master` realm. Then set `discord` theme as `Admin Console Theme`. Note: You may need to re-login for reloading the theme.
  12. 2. Add `discord` Identity Provider in the realm which you want to configure.
  13. 3. In the `discord` identity provider page, set `Client Id` and `Client Secret`.
  14. 4. (Optional) Set Guild Id(s) to allow federation if you want.
  15. ## Source Build
  16. Clone this repository and run `mvn package`.
  17. You can see `keycloak-discord-ear-<version>.ear` under `ear/target` directory.
  18. ## Licence
  19. [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
  20. ## Author
  21. - [Hiroyuki Wada](https://github.com/wadahiro)