Failed to refresh tokens. Failed to get credentials amplify
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).