Clear and concise description of the problem
When connecting to Forgejo (e.g.: Codeberg) it is impossible to create an OAuth2 application which only allows a specific scope (as reference see this issue).
This results in requesting broad access to everything, read and write.
Suggested solution
Scope the access to specifically what is needed, like read:user and read:repository.
This can be achieved with appending &scope=read:user,read:repository to the authorization URL.
Alternative
No response
Additional context
No response
Validations
Clear and concise description of the problem
When connecting to Forgejo (e.g.: Codeberg) it is impossible to create an OAuth2 application which only allows a specific scope (as reference see this issue).
This results in requesting broad access to everything, read and write.
Suggested solution
Scope the access to specifically what is needed, like
read:userandread:repository.This can be achieved with appending
&scope=read:user,read:repositoryto the authorization URL.Alternative
No response
Additional context
No response
Validations
nextversion already [https://woodpecker-ci.org/versions]