It would be highly beneficial to integrate Keycloak as an authentication option in NodeBB, as it aligns with the authentication system used by my primary website. This integration would enable seamless Single Sign-On (SSO) for users, eliminating the need to manage separate sign-ups for the main application and the forum. By leveraging Keycloak, which offers robust authentication and authorization features, the forum can inherit the security and scalability of the existing setup. This not only simplifies the user experience but also ensures consistency in user management across both platforms, enhancing overall efficiency and usability.
Hello everyone
This is my environment configuration information:
I am using an AWS EC2 server, with the system being Debian 12, and using the BaoTa Linux panel.
The Node.js version is v18.20.5, MongoDB version is v8.0. After installation, the forum address is 127.0.0.1:4567. I am using a reverse proxy to mount my domain aiink.cn.
[image: 4IZYWuqyjilXk5G.png]
[image: bAg17qfdFEazxOs.png]
The installation went smoothly, but upon first run, there were some issues (see the image).
[image: rs7WhEd2834gwPx.png]
Many JS files cannot be found, and even after searching through the distribution package, I could not locate them, such as the most important ones:
nodebb.min.js
admin.min.js
When I compressed the files on the server and downloaded them, I did not find these files either.
I noticed that some file paths were localhost, so I downloaded the config.json from the server and changed the localhost:4567 in the config.json to 127.0.0.1:4567.
After running:
./nodebb stop
./nodebb start
the issue still persisted.
Due to the missing admin.min.js, I am unable to click the 'rebuild-and-restart' button.
Previously, I installed NodeBB v1.6, and there were no such issues.
Is this a configuration problem on my end, or something else?
Feel free to adjust any part of the translation if you need it to better fit your needs or context.
The full minutes from the Forum and Threaded Discussions Task Force monthly meeting (held on 7 November) can be found at this Google Docs link
Apologies in advance if I misrepresented anybody or missed any crucial bits of information.
Of note:
SWICG ForumWG GitHub repo used to keep track of high level discussion items
Repo url: https://github.com/swicg/forums
Issue tracker contains details regarding high-level items discussed at monthly meetings (and on the fediverse between meetings)
Very early draft report of Conversational Contexts in ActivityPub accessible at https://swicg.github.io/forums/ — just headers and an intro so far
Mastodon and its treatment of non-note items
Darius Kazemi (@[email protected]) of Hometown put together a light fork of Mastodon that could be merged upstream. It utilises the "read more" functionality to display longer-form content and runs the content of non-note objects through the same parsing that regular notes get.
Emphasizes that it is not an open PR yet, while discussions are ongoing with Renaud and the Mastodon team. "This is 118 lines of code, touches 4 files. Not huge."
Some edge cases: How do we handle additional media beyond the cap of 4 currently in place by Mastodon?
Emelia (@[email protected]) also brings up concerns re: text-field length and a sensible maximum across implementations.
Evan (@[email protected]) brings up the possibility of this PR making it into Mastodon 4.4, Claire (@[email protected]) acknowleges the possibility
Darius will write up a summarization and demo video for presentation to the Mastodon team
FEP 7888 and 76ea
There are still outstanding conflicts between FEPs 7888 and 76ea
Beyond the main difference (7888 uses as:context, 76ea uses thr:threads under a new namespace), some philosphical differences persist.
e.g. whether the 76ea's definition of an explicit "reply tree" is adequate to describe the multitude of shapes that a conversation can take
a (@[email protected]) and Evan informally pledge to work together to come to a resolution
Voting re: FEP convergence
A motion was made by Julian to defer a subsequent motion regarding FEP convergence to a later to-be-determined date pending resolution of the 7888/76ea conflict
Majority abstained, with two ayes. Resolved.
Context collection items: activities or objects?
Julian: should a resolvable context collection contain activities (create, like, EmojiReact, etc.), or simple objects?
Evan makes the case that simpler is better (needing to diff. activities may present a complication for implementors)
a suggests a reframing as a two-way negotiation of what gets declared vs. approved
This topic was cut short due to timing
Hi NodeBB Community,
I’m trying to integrate my website’s custom login system with NodeBB using the SSO plugin, but I’m running into issues during the authentication process. Users are redirected correctly to the login page, but after entering their credentials, they’re not being logged into NodeBB, and no session is created.
Here’s what I’ve done so far:
Configured the SSO plugin with my website’s API endpoints for login and user verification.
Ensured CORS is properly configured on the website’s backend.
Tested the API endpoints independently and they return the correct user data.
Could this be an issue with the plugin’s callback URL or how the session tokens are being handled? Any tips on troubleshooting SSO integrations with NodeBB would be greatly appreciated!
Thanks in advance!
Hello,
I've recently encountered something of the most weird kind : user accounts are mixed up. What I mean is that for example, a user A can login to their account, with their username and password, but will have access to an account B, including settings, emails, posts and more.
It is a profound security issue, and is also causing great confusion.
I've had to restore a backup of the database a few months back, and this issue did not appear at the time. Some accounts do no appear to be affected, as mine for example is normal.
Did anyone else have this issue ? Can I do anything to resolve it ?
I was thinking of deleting all the accounts and re-creating them and inviting the users to reset their passwords en masse, for example by exporting all the users to a CSV and then re-inviting them, but I am not sure it will resolve the issue.
It seems as if the user's ID have been linked to two accounts. A strange case of data schyzophrenia.
The forum is also extremely slow and shows a very high mongoDB usage.
Thank you for your help,
Cheers
I'm currently running NodeBB 3.9.0.
I'm trying to rework the nodebb-plugin-charts plugin.
The essence of the algorithm is that one string is replaced by another.
When replacing the original string with
<div><div id="' + idChart + '" style="height:300px; width:500px;"></div>
<script class="code" type="text/javascript">$(document).ready(function(){$.jqplot("' + idChart + '", '+datas+', '+untypedOptions+');});</script></div>'
the <script></script> part is cut off
It seems that the plugin is very simple, but knowledge of nodebb is required
On the other hand, it would be very interesting to see how to add such a third-party library to the plugin
Can someone look at these errors?
https://github.com/svandecappelle/nodebb-plugin-charts
Let's say for some contrived (but very real) reason, I want to add { "toot": "http://joinmastodon.org/ns#", "Emoji": "toot:Emoji" } to @context, but another member of @context might be { "toot": "http://joinmastodon.org/ns#", "focalPoint": ... }
Would it be acceptable if I just pushed my object to the end and assumed that JSON-LD parsers would correctly reduce it down to:
{
"toot": "http://joinmastodon.org/ns#",
"Emoji": "toot:Emoji",
"focalPoint": ...
}
... or should I be adding in logic to detect the existing member defining toot and merge the Emoji property in?
Hi there,
I have upgraded the forum from 3.6.3 to 3.10.3 recently.
Everything seems to be alright except: the notification count is shown twice as follows:
[image: 1731369907546-a5ee1dad-a31e-484b-aa9e-30bf98f45595-image.png]
The HTML is as follows:
[image: 1731370272055-11a48c41-8ad8-4982-ac0e-3d90675f1da1-image.png]
I have uninstalled 3rd party plugins, rebuilt and checked again and yet the issue is still there.
I was wondering if anyone could give any idea on how to go about this.
TIA!
Hi All
I followed the installation instructions on Ubuntu and have the web site up and running. The instructions were pretty good, although a few small things would have helped a linux newbie like me.
I also had a weird error of "Bad Gateway" that seems to have gone away with a restart. However I am stuck now in that I cannot login with the app admin account I created during setup. A message comes up bottom right saying "Welcome back guest", then it goes to a page:
Not Found
You seem to have stumbled upon a page that does not exist
I'm sure that I'm using the correct account as per the instructions, and I also tried using the email address instead of name. I even tried using the OS account I used to install / run NodeBB.
Any idea what the problem is?? The forums have helped with various things, but I can't find anything on this...
Hi all
I’ve agreed to help someone setup a forum, and partly because a threaded view will be useful for more in depth discussions, I think NodeBB is the best of the shortlist. However as the previous forums/websites I’ve created have been hosted on managed web space, and my experience of linux / node.js etc are very basic, I’d like to keep the setup as simple as possible.
For various reasons, it’s necessary to host it on Ionos. I’d like advice on a couple of decisions before I go any further:
VPS or “Cloud Server”. In terms of ease of management and scalability, I’m assuming that a Cloud Server would be the better option?
Ionos offer a managed MungoDB service. Any reason not to use an Ionos managed MugoDB?
Maintenance. It sounds like there are going to be several layers of software installed - linux, node.js, nginx, nodeBB (+ MungoDB) etc. Do all of these need to be updated separately and manually?
I'm tempted to use the Docker image, but I assume that is likely to be more challenging than a standard install?
Any comments on any of these would be appreciated…
I struggle with a lot of Chinese spam, sometimes over 100 posts a day, very often they register with hotmail.com or outlook.com e-mail addresses. The IP addresses are always different.
I'm using hCaptcha on registration, but I've also tried Google Re-Captcha with the same result.
The forum is English-only. Have anyone else seen this, or have any idea how to stop it?
The posts typically look like this:
[image: 1731118282359-5bdf8e01-8f01-473a-b43d-a8c6e44ef0de-image.png]
Hey @The-Worms @Nicolas @ all @ anyone - do we have a solution to get the Twitter embed to work on nodeBB 1.13.x-1.16.x ?
Both plugins appears to be the same but nodebb-plugin-embed seems to be most up to date.
Yet twitter appears to be still broken past 1.13.x ... I can not get it to work on 1.16.x
Can we rule our other aspects, did twitter do something, is there an issue with some other component that is not nodeBB or the plugin, the nodebb-plugin-embed youtube embeds work., have not tried any others yet.
Appreciate any and all replies in advance. Thank you.
-
General Discussion
A place to talk about whatever you want
-
NodeBB Development
Stay tuned here to hear more about new releases and features of NodeBB!
-
Feature Requests
You have a cool idea about NodeBB? Post it here.
-
-
NodeBB Themes
A public listing of community themes created by the NodeBB community. -
Technical Support
Need help with installing or configuring NodeBB? Look here.
Copyright © 2024 NodeBB | Contributors