Backend / Server
Backend SDK Overview
Rownd Backend SDK Features
Rownd’s Backend SDKs provide powerful tools for secure and efficient server-side authentication and user management.
Robust Token Management
Ensure secure access to your backend resources with comprehensive token management:
- Token Verification: Easily verify user tokens to authenticate requests
- Token Refresh: Automatically handle token expiration and renewal
- Custom Claims: Add and manage custom claims for user tokens
Understanding Rownd Tokens
Rownd uses JWT (JSON Web Tokens) for authentication. Here’s an example token payload:
Standard JWT claims:
- jti: Unique identifier for this token
- aud: Array of audiences this token is intended for (includes Rownd app ID and app variant ID if applicable);
- sub: Subject identifier (Rownd user ID)
- iat: Timestamp when the token was issued
- exp: Timestamp when the token expires
- iss: Token issuer (Rownd API)
Rownd-specific claims:
- https://auth.rownd.io/app_user_id: User’s unique identifier in Rownd
- https://auth.rownd.io/is_verified_user: Boolean indicating if the user is verified
- https://auth.rownd.io/auth_level: User’s authentication level (e.g., “verified”)
Seamless Integration
Integrate Rownd’s backend capabilities with your existing infrastructure:
- Framework Compatibility: Support for popular server-side frameworks like Node.js, Django, and .NET
- API Integration: Effortlessly call Rownd’s backend services
- Server-Side Rendering Support: Compatible with frameworks like Next.js and Remix for efficient SSR
Advanced User Management
Manage user data and authentication flows with ease:
- User Profiles: Access and update user profiles programmatically
- Role-Based Access Control: Implement fine-grained access control for different user roles
- Event Hooks: Trigger custom logic on authentication events
Developer-Friendly Tools
Streamline backend development with comprehensive tools and support:
- Detailed Documentation: In-depth guides and API references
- Versioning and Compatibility: Clear upgrade paths and backward compatibility
- Technical Support: Access to expert engineering support
Steps for getting started:
- Set up your Rownd account (only takes a minute).
- Create an app key.
- Install Rownd using an SDK.
- Configure customizations and sign-in methods from the Rownd platform.