Skip to content

Code-House/keycloak-discourse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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.

Compatibility

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

This extension is currently compatible with Keycloak 17.x-20.x - and it does offer admin ui fragment. You can use it with later versions of Keycloak, however then you have to configure it without UI.

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