openresty / opm

OpenResty Package Manager
https://opm.openresty.org/
460 stars 75 forks source link

opm upload keep response ERROR: /root/.opmrc: bad "github_token" #89

Open supereldar opened 3 years ago

supereldar commented 3 years ago

i'm trying to update my project lua-resty-access tried 3 new tokens for my supereldar github account

.opmrc: github_account=supereldar github_token=ghp_43242342342343242423 upload_server=https://opm.openresty.org download_server=https://opm.openresty.org

dist.ini name = lua-resty-access abstract = Passwordless authentication for OpenResty - Flexible and Secure author = Eldar "supereldar" Beibutov is_original = yes license = 2bsd repo_link = https://github.com/supereldar/lua-resty-access requires = openresty, bungle/lua-resty-session, ledgetech/lua-resty-http, GUI/lua-resty-mail version = 1.043

rushitote commented 3 years ago

I am having the same issue too. I even tried regenerating the token with different scopes but it gives the bad "github_token" error every time.

aiyanbo commented 3 years ago

Upgrade to opm 1.19.9.1 fixed it.