Skip to content

[BUG] [nightly] Personal Access Tokens don't work #24799

Closed
@evanferrao

Description

@evanferrao

Description

On the nightly build of gitea 1e1e8b5, Generating Tokens no longer has scope option. As a result, the generated tokens are useless, and are not able to clone private repositories, etc.

Gitea Version

1e1e8b5 (commit SHA)

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://paste.evanferrao.win/raw/lh22z6t

Screenshots

I'm uploading a screen recording instead of a screenshot. It helps to understand way faster.

Gitea.Token.Scope.missing.webm

Git Version

2.40.1, Wire Protocol Version 2 Enabled

Operating System

ZorinOS 16 based on ubuntu 20.04 LTS

How are you running Gitea?

I'm running gitea using docker-compose. I've attached it below.

version: "3"

networks:
  gitea:
    external: false

services:
  server:
    image: gitea/gitea:nightly
    container_name: gitea
    restart: always
    environment:
      - GITEA__log__MODE="console"
      - GITEA__log__ROUTER="console"
      - GITEA__log__LEVEL="debug"
      - GITEA__log__STACKTRACE_LEVEL="debug"
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - /home/git/.ssh/:/data/git/.ssh
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "127.0.0.1:3000:3000"
      - "127.0.0.1:2222:22"

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Giteatopic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions