# Fixes auth store SSO loop and `@sanity/cli` missing import

**Version:** v5.30.0

**Published:** June 3, 2026

This release fixes an authentication loop that could trap users on the login screen and missing `getWorkspace` in `@sanity/cli`.

If you experience  a login loop and are unable to upgrade to this version, clear your browser's site data for the Studio (or run `localStorage.removeItem('__studio_auth_token_<projectId>')` in the devtools console) and reload.

## 🐛 Notable bugfixes and improvements

- Fixes an authentication loop that could in certain cases trap users on the login screen.
- Adds missing changeset for `@sanity/cli-core`.
- Fixes an issue causing “`getWorkspace` is not a function” when running `sanity schema extract`.

