Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.12 KB

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);