Polotno SDK lets developers integrate their own authentication and user management systems, ensuring full control over access, permissions, and usage. The SDK itself doesn’t enforce login logic. It connects seamlessly to your existing identity infrastructure so you decide who can edit, render, or access specific features. Authentication covers both client-side embedding and backend rendering workflows. Whether you use OAuth, JWT, API keys, or a custom token flow, Polotno works with any framework or backend.
Key features
Bring your own auth
Integrate any authentication method: OAuth, SSO, JWT, session tokens, or API keys. The SDK takes no user credentials, so verification stays in your app.
Role-based permissions
Control access to editing, rendering, and asset libraries based on user roles or subscription tiers. You can gate premium templates, advanced exports, or brand-restricted assets.
Secure rendering and automation
Validate your user's session and permissions on your backend, then call the Cloud Render API with your Polotno API key. Polotno does not validate your application's user tokens. For self-hosted rendering, enforce your authorization rules before jobs are queued.
Token-based session flow
Your app checks the user's session before it mounts the editor or sends a render, so each user stays within their allowed scope: number of renders, storage access, or API limits.
Server-side verification
Route rendering, uploads, or automation through your backend to apply your access rules before calling the relevant service.
Multi-tenant and white-label setups
Manage multiple organizations or customer environments with isolated tokens and configuration sets. Perfect for SaaS platforms embedding Polotno in client workspaces.
Self-hosted deployment
When you host the editor and renderer, your application controls authentication and authorization. Configure asset sources and optional hosted services to meet your data requirements.
Example use cases
- SaaS design platforms – Integrate Polotno into existing user accounts and billing systems.
- Enterprise portals – Enforce SSO and internal directory permissions for internal editors.
- Creative agencies – Restrict brand asset access per client workspace.
- Automation tools – Validate API requests before running renders or template creation jobs.
- White-label apps – Generate signed session tokens for each tenant instance.
Developer benefits
- Works with any existing authentication provider or backend.
- No vendor lock-in: you own all user and session data.
- Authorize your users on your backend before sending cloud render jobs.
- Full compatibility with self-hosted setups.
- Supports granular permission logic across users and teams.
FAQs
Does Polotno include built-in authentication?
No. You implement your own. The SDK takes only your Polotno API key; user tokens and sessions stay in your system.
Can I restrict access to certain features or templates?
Yes. You can apply logic based on roles, plans, or tokens before initializing the editor.
How is authentication handled for rendering APIs?
Your backend validates your user's session, then authenticates to Cloud Render with your Polotno API key. Self-hosted render services use the access controls you implement.
Can I use Polotno with SSO or OAuth providers?
Yes. Any flow works, because your app signs the user in before it mounts the editor, and Polotno takes no user token.
Is user data stored by Polotno?
No. Authentication, permissions, and user metadata remain entirely within your infrastructure.
