Skip to content

Api token for discord bot #5

Description

@GuizRTQC

Hi, I'm trying to integrate my Discord bot with Warcon to automate adding players to reserved slots.

The problem: All /api/auth/* endpoints return 404 on HTTP (even on localhost), and I can't authenticate programmatically. Better Auth doesn't expose an API token mechanism.

What I need

API token mechanism : Generate a stable API key/token for bots, stored in the database, that I can use.

My bot needs to call POST /api/orgs/{ORG_ID}/lists/reserve/entries programmatically from Node.js, not from a browser.

What would be the simplest solution to implement?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions