Closed gufertum closed 2 months ago
Hey @gufertum. The auth endpoints won't be shown on the demo site, as auth is disabled on that instance. But if you have your own instance with auth enabled, you'll see an /api/token
endpoint which can be used to get a token. The token then needs to be sent in the header of any authenticated requests, e.g. Authorization: Bearer <token>
.
I hope this helps.
Hi and thanks a lot. I missed that endpoint somehow. It's working fine and thanks again for the hint!
I'm sorry to ask here, but I cannot find any documentation on how to authenticate using the api. Related docs: https://demo.flatnotes.io/docs