773 Star 1.5K Fork 351

开源中国 / Gitee Feedback

 / 详情

执行refresh token时提示Unauthorized

待确认
缺陷
创建于  
2022-08-14 11:10

按文档OAuth文档执行refresh token时提示Unauthorized

F. 当 access_token 过期后(有效期为一天),你可以通过以下 refresh_token 方式重新获取 access_token( POST请求 )
https://gitee.com/oauth/token?grant_type=refresh_token&refresh_token={refresh_token}

我在POST的header里面添加了Authorization: Bearer 私人令牌code,仍然提示Unauthorized

请问refresh token需要怎么Authorization?

评论 (0)

wmsok 创建了缺陷

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Ruby
1
https://gitee.com/oschina/git-osc.git
git@gitee.com:oschina/git-osc.git
oschina
git-osc
Gitee Feedback

搜索帮助