I build my website base on nodebb.
I have group Facebook and now i want to build a tool crawl all question from group to my website.
In my VPS i have upgrade nodebb 1.14x to 1.18.4.
But i cannot generate token to use v3/api of nodebb.
Call API: POST https://domain.vn/api/v3/users/5866/tokens
(5866 is my uid admin account) but got forbidden like picture below:
Is that issue about CORS or session, admin setting?
I found some docs talk about 2 type token (master and user token) but i not really understand them. Please help me make a sample to call my API create topic or post by Request package npm.
@goik You will need to have the plugin call await user.email.confirmByUid(uid); when the account is created.
But a different question -- do you need to have the account confirmed? By default privileges are set up so that both confirmed and unconfirmed accounts can post new topic/replies, etc., so there is no functional difference except that outgoing emails won't be sent to unconfirmed emails.
If it's merely to "check a box", then maybe it is ok to just not confirm any emails.
Might be the plugin needs updating to auto-confirm email addresses.