Skip to content

martel-innovate/discoursesso

 
 

Repository files navigation

Discourse SSO

This app is designed to allow Discourse instances (discourse.org) to authenticate via a nextcloud instance.

Installation

Place this app in nextcloud/apps/

Building the app

The app can be built by using the provided Makefile by running:

make

Configuration

Issue with URL decode in nextcloud

There is a bug in nextcloud that prevents this app from working, please see nextcloud/server#6822

In order to fix this you need to patch the function generateRedirect in the file core/controller/LoginController.php file of the nextcloud server and change the line

$location = $this->urlGenerator->getAbsoluteURL(urldecode($redirectUrl));

to

$location = $this->urlGenerator->getAbsoluteURL($redirectUrl);

About

Nextcloud App providing Discourse SSO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 61.8%
  • Makefile 27.9%
  • JavaScript 9.9%
  • CSS 0.4%