HomarrH
Homarr2y ago
10 replies
LYPTUS

api authorization

Hi there,
I am trying to use the API endpoint to Homarr.

My Homarr is managed by Portainer, running in a Proxmox LXC.

This is my compose:

version: "3"
services:
  homarr:
    container_name: homarr
    image: ghcr.io/ajnart/homarr:latest
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /opt/homarr/configs:/app/data/configs
      - /opt/homarr/icons:/app/public/icons
      - /opt/homarr/data:/data
    ports:
      - 7575:7575


I retrieved an access token from the tools, but I am having issues with autorization.

curl -H "Authorization: Bearer XXXXXXXXXXX" http://192.168.XX.XX:7575/api/boards/all

{"message":"UNAUTHORIZED","code":"UNAUTHORIZED"}%


anything im missing here?
Was this page helpful?