Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration not working on my installation #18

Open
wokawoka opened this issue Jul 23, 2021 · 5 comments
Open

integration not working on my installation #18

wokawoka opened this issue Jul 23, 2021 · 5 comments

Comments

@wokawoka
Copy link

wokawoka commented Jul 23, 2021

Hello friends,
I'm facing a problem with this integration:
I've added my discourse installation address (live and working) to the "connected accounts" in the nextcloud settings, just after adding "web+nextclouddiscourse://auth-redirect" in the "allowed_user_api_auth_redirects" field on discourse options.
The connection somehow worked , even if I read "Connected as" without the relative username, see screenshot:

Screenshot_20210723_110717

The integration seems not to be working here and the discourse widget on the dashboard shows an error. See screenshot:

Screenshot_20210723_111212

I know this isn't a support forum, but there might be other people experimenting the same problem. Do you guys have an idea about how to solve the problem?
Does maybe the fact that on my installation discourse is managing authenticatications through discourse SSO on nextcloud (this works perfectly)?
I'm running Nextcloud version 21.0.3 , an updated version (yesterday) of discourse, and all the nextcloud plug-ins are updated.
Any suggestion? Being able to integrate discourse would be a must for the group I'm managing nextcloud for...
Thank you!

@wokawoka
Copy link
Author

I suspect that the problem is linked to the fact that I authenticate users on discourse through discoursesso/discourseconnect on nextcloud
https://apps.nextcloud.com/apps/discoursesso
https://github.com/soudis/discoursesso/blob/master/README.md
https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045

is anybody running the same SSO setup and at the same time is being able to have the nextcloud/discourse dashboard/search integration working?

@wokawoka
Copy link
Author

I disable discoursesso and activated normal email login only and I still get the same issue with no "Connected as" and no username.
Do you guys have an idea about which log should I look for?
Thank you!

@wokawoka
Copy link
Author

wokawoka commented Jul 23, 2021

Nextcloud-discourse integration works on my nextcloud instance with the official nextcloud discourse forum though (https://help.nextcloud.com) , that means that the problem should be on my discourse instance.
I'm running it behind nginx proxy manager, could this be the real problem, maybe? (but other than with this integration it looks like it's working correctly for the moment)

@Ethanol6
Copy link

I'm using Nextcloud 23 snap on Ubuntu Server 22.04. Integration does not work here either. help.nextcloud.com redirects me to the page to allow app access, I click "authorize" and nothing happens. The page doesn't redirect or anything. I've tried discourse.destinationlinux.network and once I click "authorize" it redirects to a page discourse.destinationlinux.network/user_api but there's nothing on the page. In either case I'm left with a blank widget on the dashboard with no connected accounts.

@satoshinotdead
Copy link

That's a confirmed bug? Can you share the errors from the logs?

I will try that soon and I hope I can help but we need to get into the logs.

You can check /var/log/syslog and /var/www/html/data/nextcloud.log (or wathever you have the installation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants