9.4.1
RESTHeart 9.4.1
This release focuses on the restheart-accounts module, with improvements to OAuth handling, the invite workflow, and extensibility through new SPIs.
OAuth & Authentication
- OAuth state tokens now persisted in MongoDB, replacing in-memory storage for more reliable state management across restarts and clustered deployments. Introduced thin registry interfaces as part of this change.
- Added priority to
oauthServiceand a dummy SMTP configuration for easier out-of-the-box setup.
Extensibility (SPI)
- New
MembershipProviderSPI to support custom membership models, letting you plug in your own logic for how users belong to teams/tenants. - Added the accounts membership SPI and moved the accounts SPIs into the
commonsmodule for better reuse.
Invite Workflow
- Cleaned up the invite workflow and fixed incorrect HTTP status codes.
- Simplified second-team setup by deleting the user first.
Configuration Changes
restheart-accountsplugins are disabled by default. Enable them explicitly if your deployment relies on accounts features.