📜  无法刷新令牌.获取凭据失败. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:44.246000             🧑  作者: Mango

代码示例1
You should try logging out
amplify logout --appId appIDHere
✔ Do you want to logout from all sessions? (y/N) · true
Logged out globally.

Then reconfigure:
amplify configure --appId appIDHere --envName staging
This will take you to admin console and ask if you want to login via the cli (you do).