Gogs login error

Hi,
I’m trying to access a gogs account with drone.

Login does not work, but tha strange fact is that in gogs, a drone token is correctly registered when I try to connect with correct username/password.

version: '3'

services:
  drone-server:
    image: drone/drone:0.8
    ports:
      - 8000:8000
      - 9000
    volumes:
      - drone-server-data:/var/lib/drone/
    restart: always
    environment:
      - DRONE_OPEN=true
      - DRONE_DEBUG=true
      - DRONE_HOST=http://localhost:8000
      - DRONE_GOGS=true
      - DRONE_GOGS_URL=${GOOGS_URL}
      - DRONE_SECRET=1234
      - DRONE_GOGS_PRIVATE_MODE=false
      - DRONE_GOGS_SKIP_VERIFY=true

  drone-agent:
    image: drone/agent:0.8

    command: agent
    restart: always
    depends_on:
      - drone-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_SERVER=drone-server:9000
      - DRONE_SECRET=1234

volumes:
  drone-server-data: