> This page is for Ask Sunny.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.sunnyhealthai.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sunnyhealthai.com/_mcp/server.

# March 13, 2026

## Version 0.0.19

### Breaking changes

#### Simplified authentication surface

SAML and OIDC authentication types have been removed. The SDK now supports two auth modes:

* **Passwordless** — Email or SMS-based authentication rendered in-chat
* **Token Exchange** — Use your existing auth provider (Auth0, Firebase, custom) and exchange ID tokens

`SdkAuthType` is now `'passwordless' | 'tokenExchange'`.

**Migration:** If you were using `authType: "saml"` or `authType: "oidc"`, switch to `authType: "tokenExchange"` with an `idTokenProvider` that returns your Auth0/OIDC ID token. The token exchange flow handles the same authentication — you just provide the token yourself instead of the SDK opening a popup.