Skip to content

Cannot retrieve Access Token #86

@nwithan8

Description

@nwithan8

Running the following command, where USERNAME = "admin" and PASSWORD = my admin password (ADMIN_PASSWORD in Docker Compose):

curl -s -L -X POST -H 'Content-Type: application/x-www-form-urlencoded' --data "grant_type=&username=${USERNAME}&password=${PASSWORD}&scope=&client_id=&client_secret=" http://127.0.0.1:8000/login/access-token/ | jq

Produces the following output with a 4xx error code:

{
  "detail": "'token'"
}

Version: Docker image medaziz11/uptimekuma_restapi:v1.2.2 and medaziz11/uptimekuma_restapi:latest
Uptime Kuma version: v1.23.16 (via v0.13.0 of the Home Assistant Uptime Kuma Add-On)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions