You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Organization tab — manual Refresh button next to the organization
dropdown that re-fetches the WorkOS organization list on demand via the
admin REST endpoint (GET /workos/v1/admin/profiles/organizations?refresh=1),
bypassing the 5-minute transient cache. The dropdown is visually blocked
with a spinner while the request is in flight; the previously selected
organization is preserved across the refresh when it still exists.
?refresh query parameter on GET /wp-json/workos/v1/admin/profiles/organizations — drops the shared workos_organizations_cache_{env} transient before fetching from WorkOS.
Fixed
Organization tab — fix "Save Settings" being blocked by an invalid hidden
form control (org_name). The Create Organization Thickbox modal is now
rendered at admin_footer so its inner <form> no longer nests inside
the outer settings form, preventing HTML5 constraint validation on the
hidden required field from aborting the parent form's submission.
Active environment — workos_active_environment is now the single source
of truth for the active environment. The admin Settings UI wrote the
user's selection to a standalone option while the runtime auth flow read
from workos_global['active_environment'], so picking "Production"
saved successfully but the runtime kept loading staging credentials and
redirecting users to the staging AuthKit. Config::get_active_environment()
/ set_active_environment() now read and write the standalone option,
with a one-time migration (db_version 2 → 3) that copies any legacy
value out of workos_global and unsets it.