Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Darkscribes Community

A

[email protected]

@[email protected]
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Do I need to use the admin bearer token for normal user actions via API? (e.g. login, post, upvote)
    A [email protected]

    Hi,

    I'm working on an Android app that uses NodeBB as the backend. I'm trying to interact with everything through the NodeBB API — like registering a normal user, logging them in, creating topics, replying, upvoting, etc.

    My main question is:

    Do I need to use the admin bearer token for all these actions, or should each normal user get their own token after login and use that?

    Also, I'm a bit confused about the login endpoint. I've seen both:

    /api/login

    /utilities/login

    Which one is the correct endpoint to log in a normal user using the API?

    Apologies if this is a basic question — I checked the docs but couldn't find a clear answer or a complete example for handling the full user flow via API. Any help or guidance would be much appreciated!

    Thanks in advance!

    Uncategorized
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups