nextcloud / nextcloud/integration_discourse
Discourse Integration app don’t redirect me back to Nextcloud and don’t work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Nextcloud version (eg, 20.0.5) : 29.0.0
Operating system and version (eg, Ubuntu 20.04) : Ubuntu 20.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25) : Apache/2.4.41
PHP version (eg, 7.4) : 8.2
I am trying to connect Nextcloud with Discourse by Discourse Integration app. This is my configuration in Discourse:
And in Nextcloud:
When i click on ‘Connect to Discourse’ i am redirected to Discourse:
But if i click ‘Authorize’ i get an error, i am not redirected back to Nextcloud and i don’t have any changes in Nextcloud
Error:
Failed to launch 'web+nextclouddiscourse://auth-redirect?payload=h0zAd7muVMb9BOgGy7h9yAHjlfo%2F4H3uW%2BerBcTqjtuI0cAE2i8%2F758rjIJJ%0AZICHZUdkEd2yokRhJZBdY1XuHMdwhfH%2Bixsq%2FJjwp9BI2ptxAY6ZqffmMShm%0APY8dcr2GFCnrJ9Cvbeu1EqbyQ0M0jarTBkphJ4nOeoTkuKNbQJhDkbmDwhup%0A%2Benz%2Bkyn43ddT4GulLXBtl0ZhzbfR0kkkwbnGJZoGWsLBXmWr%2FyltCve4dEI%0AlQZKWexlnasa%2B0hx6gq7C9mx9fT5viVLBBG2RlGGTACI7zppxXAbnmKTebw%2B%0AoRVYJXIAFnboHsr0WbsI65ixJLmj0KccvCBaBssAsA%3D%3D%0A
’ because the scheme does not have a registered handler.
What am i doing wrong?
P.S.
If that’s important i have Discourse SSO app installed and working properly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Reproduce the flow from Nextcloud’s “Connect to Discourse” entry point through Discourse’s “Authorize” action, then trace the web+nextclouddiscourse callback; done when authorization returns to Nextcloud and the connection state changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100