What is Nostr?
hellowmellow /
npub15s9…gcdx
2024-07-08 05:46:32

hellowmellow on Nostr: I went ahead and read all about Nodebb authorization. I believe the api registration ...

I went ahead and read all about Nodebb authorization.


I believe the api registration of new user is */api/v3/users/*. This requires master token but if we are using a master token for registration purposes on frontend, this can be easily abused right. I checked via Postman, and it keeps on creating users everytime the request is sent, appending some values at the end if the username already exists.


So my question is what might be a better way for users to register from the custom frontend using bb for backend? Is this even possible? I can only think about iframing the registration page from nodebb beside this.


Any ideas? Maybe there is another api or some methods I'm not aware of?


Thanks.


Author Public Key
npub15s9gs4qyu28elp43qk3qh70ntvtn7s9stnuqvqyy2ch8v4gjutpqg8gcdx