Skip to main content

Authentication SDK and provider support

JavaScript SDK​

JavaScript SDK 1.5.3 provides browser authentication methods login, signup, logout, hasToken, isUserAuthenticated, validateSession, and getCurrentUser. The session token is stored in localStorage; only redirect state uses sessionStorage. Do not treat an API key as browser authentication.

Python SDK​

Python SDK 0.2.1 sync and async clients provide get_current_user, signInWithPassword, signInWithToken, and signOut. Store tokens outside source code, and keep server-side credentials on the server.

Refine​

Refine providers 1.3.6 expose login, logout, check, onError, register, getIdentity, and getPermissions. For access control in Refine, see Access policies SDK support.

OpenID Connect SSO​

OpenID Connect is configured in TaruviBase Console with Provider ID, Server URL (Discovery Endpoint), Display Name, Client ID, Client Secret, optional Icon, and Auto-redirect.

Other providers​

The Console may show other provider choices. To use one, contact TaruviBase support. Hosted sign-in, sign-up, logout, password reset, and invitation acceptance are covered by the hosted account flow, with sign-up controlled by security.signup-enabled.