Skip to content

使用refreshToken换取accessToken提示授权码无效过期 #413

@zhangchutian

Description

@zhangchutian

(async () => {
const result = await authenticationClient.getAccessTokenByCode(
// 用户认证完成回调到你的系统之后,你可以从回调地址的 query 参数中得到一次性临时凭证
'REPLACE_ME_WITH_REFRESH_TOKEN'
);
console.log(JSON.stringify(result, null, 2));
})();
使用当前方法获取新的accessToken的时候提示授权码无效或已过期,参数全部按照文档中填写,为什么还会提示授权码无效或已过期?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions