I need to be able to create users and manage their Channels via my Applications Admin API.
I have already create my Admin Credentials but I cannot grok how to use this to connect to the Admin API, I feel like I am missing something in the documentation that should be fairly simple.
Anyone have any guidance as how to connect to the Admin API and create a User?
It’s expected that your backend service/API has network access to Sync Gateway’s Admin API port (4985), and can use the set of admin credentials you created to manage users via the Admin HTTP REST API:
It was not clear in the docs, or I missed it, that you need to use Basic Auth for all requests and so I assumed I needed to call an Auth Endpoint and get some token back to use for subsequent requests.
Basic Auth makes it nice and simple, thanks for the help!