Overview
The Timeback SDK supports two identity modes.SSO Mode
SSO mode uses Timeback as the identity provider via OIDC. The SDK automatically resolves the Timeback user by email and returnsTimebackAuthUser.
lib/timeback.ts
user object in onCallbackSuccess has this structure:
Custom Mode
Use custom mode when your app has its own authentication system.lib/timeback.ts
Identity-Only Mode
If you need only SSO, usecreateTimebackIdentity():
lib/timeback.ts
Sign-In Flow
The SDK provides aSignInButton component that initiates the SSO flow:
- React
- Vue
- Svelte
- Solid
User Verification
Verify if a user has a Timeback account:- React
- Vue
- Svelte
- Solid