Skip to content

Integration between Keycloak and Discorse.. using Keycloak APIs to do so.

License

Notifications You must be signed in to change notification settings

Code-House/keycloak-discourse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak-Discourse

This repository contains an identity provider implementation for Keycloak. Provider itself bridge information from Discourse powered forums. Discourse as a tool is able to authenticate using popular OAuth or OpenID Connect providers. However, it does not offer a OpenID Connect authorization endpoint for third parties.

Configuration screen

Compatibility

Authorization protocol between Discourse and Keycloak is so-called "Discourse Connect".

This v1 of extension was compatible with Keycloak 17.x-20.x, when using old admin console. The v2 version of this identity provider aims compatibility with Keycloak in versions above 22. The Keycloak 21 is unsupported due to missing old console and sufficient configuration mechanisms.

Implementation details

Identity provider will copy common fields returned by Discourse which are:

  • email
  • username
  • external_id (user id in discourse database)
  • moderator
  • admin

Keycloak uses internally email to match with its own users. Currently, Discourse does not provide information such first/last name. It has to be added upon successful authentication.

License

This code is licensed under GNU Affero General Public License 3.0. For exact license terms please see attached LICENSE.txt.

About

Integration between Keycloak and Discorse.. using Keycloak APIs to do so.

Resources

License

Stars

Watchers

Forks

Packages

No packages published