Skip to content

[Feature] Security improvement when using OAuth Application Tokens (CI, Drone, etc). #16024

Open
@gnat

Description

@gnat

Currently, CI systems and apps integrate with Gitea using "full access" OAuth Application / Access Tokens.

Unfortunately this is a security issue as the tokens have full access to every repository- this has fairly serious implications if any app using these tokens is compromised.

To keep things simple, I propose an easy way to add access control:

  • New checkbox setting on each repository, whether or not it's accessible to OAuth Applications.

This has a nice side effect of cleaning up repositories from the build list when using automated CI systems such as Drone.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/authenticationtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions