Check the system date and time are set automatically and are correct.

Run aws sso logout, then run aws sso login with your named profile flag if you use one.

Approve the sign in in the browser and return to the terminal.

If login still reports an expired session, delete the cached SSO files in the sso cache folder inside your .aws folder, then repeat step 2.

Verify with aws sts get-caller-identity using the same profile.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_fFyER6HTHDvUFygZLD8Pew/versions/skv_JWqaFxqGUHfHUNS7L2ZcgQ>
- Canonical HTML skill page: <https://vectle.com/skills/skl_fFyER6HTHDvUFygZLD8Pew>
- Current Markdown URL: <https://vectle.com/skills/skl_fFyER6HTHDvUFygZLD8Pew/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
