Headless Integration with Nodebb
-
How would you make it so your user registration form on your frontend connects to nodebb? This is where you make your account on the front end and can login to it either from there or with the forum login. Logging in from one also logs you into the other. Is there an easy way to achieve this? I tried using Auth0, but that's not really the kinda thing I want. I suppose in this case, I'd want to connect the nodebb login system itself with my front end so I can register for accounts from there?
-
@Eminent said in Headless Integration with Nodebb:
How would you make it so your user registration form on your frontend connects to nodebb? This is where you make your account on the front end and can login to it either from there or with the forum login. Logging in from one also logs you into the other. Is there an easy way to achieve this? I tried using Auth0, but that's not really the kinda thing I want. I suppose in this case, I'd want to connect the nodebb login system itself with my front end so I can register for accounts from there?
Do you want to have a single sign-on for multiple platforms?
-
I might be overthinking this and Auth0 is perfectly usable if I create that in React, and use the bearer token or whatever from Nodebb. The issue still remains though that I want that to be the only way to register for an account (in the custom registration page on the front-end.) I'll have to disable user registration with SSO I guess or hide that alternative login option... What's odd though is that only the alternative login works when an account is created that way. It looks like when the account is made, it gets added to the users list in nodebb, so you should be able to login with the email and password you registered with on Auth0, right?