Skip to content
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

refresh_token刷新失败 #203

Open
PhantomLGZ opened this issue Feb 1, 2024 · 0 comments
Open

refresh_token刷新失败 #203

PhantomLGZ opened this issue Feb 1, 2024 · 0 comments

Comments

@PhantomLGZ
Copy link

token为同接口authorization_code获取,token能获取收藏及NSFW内容。
测试了是否包含Authorization,同样报错。
测试了是否包含state字段(获取授权时state未保存,此处填写的0),同样报错。
未测试过期token的情况,是此接口仅能刷新过期token嘛?

请求:

POST https://bgm.tv/oauth/access_token

header额外包含:User-Agent,Authorization

{"client_id":"bgm******","client_secret":"******","grant_type":"refresh_token","redirect_uri":"https://******","refresh_token":"******"}

返回:
{"error":"invalid_grant","error_description":"Invalid refresh token"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant