Does NodeBB provide support for a user database other than the one it builds in mongo? How would I integrate NodeBB with Keycloak?
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
One of the screenshots shows Node.js 16 in use and Node.js 18 or 20 is required.
https://community.nodebb.org/topic/17723/nodebb-3-6-0-minimum-nodejs-version -
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
hmm.. ok.. ty
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
nodebb build now gives me an options menu
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
do i really need to migrate to node 18 or 20.. it seems that things are working
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Some of our dependencies might require a newer version but most of NodeBB should work. Image resizing might not...
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
ty.. at some point we will absolutely move to 18 or 20.. but im hoping to make progress with 16 for now.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
so it seems like i can define a provider now.. Not sure how to set this. I'll consult with some guys internally to see what i can learn about an "OAuth2 endpoint" exposed by Keycloak.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Do I need full URL's in the following?
Are fields like the authorization url required? Is the client secret required? We do have a client id that has a secret.
What looks wrong in the following? I get an "invalid data" message when I attempt to confirm.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Do I need full URL's in the following?
Are fields like the authorization url required? Is the client secret required? We do have a client id that has a secret.
What looks wrong in the following? I get an "invalid data" message when I attempt to confirm.
Apparently the client secret is required.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
I was able to get to the Keycloak login prompt:
However the following failure occurs when I login.
Currently using this configuration:
Looking in keycloak, it did create a session for that login
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
What's the username of the user you're trying to log into? Sounds like there may be some incompatible characters.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
The username is "dave1".. the email is a fake email: dave1@dave1.dave1
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
I also have a dave@dave.dave user..
They both should work.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
With those values, yeah, it should work.
At this point, I'd need some additional debugging info. Can you please go to
library.js
in the plugin and search for the string// New user
?Add this directly below it, but before the
user.create
call:console.log(payload);
Then restart NodeBB. I'd like to see what the profile data is normalized to.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
on it. do i need to rebuild nodebb when i modifiy the plugin?
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Hmm.. I dont see a console log.. I modified the library.js in the plugin directory.
Do I need to npm link that again?
Also I do see the following error in the console.. when I login.. This suggests that the callbark URL is not correct.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Maybe I misconfigured the redirect URI in the keycloak client:
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
Yet that seemed to be the one to use..
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
David-Sargrad You're seeing a 500 error, which means it's the right URL but something happened on the backend. If it was the wrong URL it'd be a 404
If you modify a backend file, you have to restart NodeBB (but you don't have to rebuild). The files are cached (by Node.js) so you need to restart NodeBB so the cache is empty.
-
We use Keycloak for our user database. Does NodeBB provide support for a user database other than the one it builds in mongo?
If so, can you point me to guidance on this API. I want to ensure that we can register users and have users login (via Keycloak), and have this translate properly into an appropriate NodeBB user.
i see.. for some reason the console.log didnt go to the console.. that said.. i'm at the breakpoint where the console.log is ...
This is my payload object: