Platon
BABetter Auth
•Created by Platon on 4/21/2025 in #help
Anyway to access admin API from server?
I seem to be getting a 401 error on calling my auth API endpoints from my server
await auth.api.listUsers({
query: {
limit: 10,
},
})
admin:dev: [Error [APIError]: ] {
admin:dev: status: 'UNAUTHORIZED',
admin:dev: body: undefined,
admin:dev: headers: {},
admin:dev: statusCode: 401
admin:dev: }
5 replies
BABetter Auth
•Created by Platon on 4/20/2025 in #help
List of endpoints?
Can’t seem to find it, but just looking for a list of endpoints that better with exposes by default?
6 replies