Skip to content

The token generated by gitea admin user create --access-token has no scope #33474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lunny opened this issue Feb 2, 2025 · 0 comments · Fixed by #34080
Closed

The token generated by gitea admin user create --access-token has no scope #33474

lunny opened this issue Feb 2, 2025 · 0 comments · Fixed by #34080
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@lunny
Copy link
Member

lunny commented Feb 2, 2025

The token generated by gitea admin user create --access-token has no scope. I must manually edit its scopes in the database.

Originally posted by @typed-sigterm in #33469

@lunny lunny added the type/enhancement An improvement of existing functionality label Feb 2, 2025
wxiaoguang pushed a commit to wxiaoguang/gitea that referenced this issue Apr 2, 2025
…cess token (go-gitea#34080)

Resolves go-gitea#33474.

---------

Co-authored-by: wxiaoguang <[email protected]>
# Conflicts:
#	cmd/admin_user_create_test.go
#	routers/web/user/setting/applications.go
wxiaoguang pushed a commit to wxiaoguang/gitea that referenced this issue Apr 2, 2025
…cess token (go-gitea#34080)

Resolves go-gitea#33474.

---------

Co-authored-by: wxiaoguang <[email protected]>
# Conflicts:
#	cmd/admin_user_create_test.go
#	routers/web/user/setting/applications.go
wxiaoguang pushed a commit to wxiaoguang/gitea that referenced this issue Apr 2, 2025
…cess token (go-gitea#34080)

Resolves go-gitea#33474.

---------

Co-authored-by: wxiaoguang <[email protected]>
# Conflicts:
#	cmd/admin_user_create_test.go
#	routers/web/user/setting/applications.go
@lunny lunny added this to the 1.23.7 milestone Apr 2, 2025
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Apr 13, 2025
…cess token (go-gitea#34080)

Resolves go-gitea#33474.

---------

Co-authored-by: wxiaoguang <[email protected]>
(cherry picked from commit 55a69ae)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant