Platon
Platon
BABetter Auth
Created by Platon on 4/24/2025 in #bug-reports
Session schema missing from open API spec generation
I'm using the following code to generate open API documentation, however I noticed the reference to #/components/schemas/Session is missing? auth.api.generateOpenAPISchema()
3 replies
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: }
8 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