Ryva provides secure, flexible authentication powered by Supabase. Users can sign up and log in using email/password credentials or OAuth providers like Google and GitHub.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/egeuysall/ryva-archive/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Methods
Ryva supports multiple authentication methods to provide flexibility for your users:Email and Password
The traditional authentication flow where users create an account with their email address and password.Sign Up
Users create a new account by providing:
- Email address
- Password (minimum 6 characters)
- Full name (optional)
- CAPTCHA verification (hCaptcha)
Email Verification
Users click the confirmation link in their email to verify their account. This step is required before they can access the platform.
Email verification is mandatory for all email/password signups. Users cannot access their account until they verify their email address.
OAuth Providers
Users can authenticate using their existing accounts from supported OAuth providers:- Google - Sign in with Google account
- GitHub - Sign in with GitHub account
User Workflow
First-Time Signup
Choose Authentication Method
Users can select either:
- Email/password signup
- Google OAuth
- GitHub OAuth
Account Creation
For email/password:
- Enter email, password, and optional full name
- Complete CAPTCHA challenge
- Check email for verification link
- Authorize the OAuth provider
- Automatically redirected back to Ryva
Returning Users
Security Features
CAPTCHA Protection
All email/password authentication flows include hCaptcha verification to prevent automated abuse and bot attacks.Password Requirements
- Minimum length: 6 characters
- Passwords are securely hashed and never stored in plain text
- Password confirmation required during signup
Session Management
Supabase handles secure session management with:- HTTP-only cookies for session tokens
- Automatic session refresh
- Secure logout functionality
Profile Management
Once authenticated, users can manage their profile information:Update Profile
Users can update:- Full name - Display name (3-255 characters)
- Avatar URL - Profile picture (must be valid HTTP/HTTPS URL)
Email addresses cannot be changed after account creation for security reasons.
User Preferences
Users can customize their experience with preferences:- Theme (light/dark mode)
- Language
- Timezone
- Notification settings (email, push)
API Endpoints
The authentication system exposes these key endpoints:| Endpoint | Method | Description |
|---|---|---|
/api/v1/auth/me | GET | Get current user profile with organizations |
/api/v1/auth/profile | PATCH | Update user profile |
/api/v1/auth/preferences | GET | Get user preferences |
/api/v1/auth/preferences | PUT | Update user preferences |
/api/v1/auth/onboarding/complete | POST | Mark onboarding as complete |
Password Recovery
Users who forget their password can reset it:Onboarding Experience
New users are guided through a 3-step onboarding flow:- Profile Setup - Set or update full name
- Workspace Creation - Create first organization/workspace
- Team Invitations - Optionally invite team members
Best Practices
Choose OAuth for faster onboarding
Choose OAuth for faster onboarding
OAuth authentication provides the smoothest user experience. Users are authenticated instantly without email verification, reducing friction in the signup process.
Complete your profile early
Complete your profile early
Adding a full name and avatar helps team members identify you in collaborative workspaces.
Secure your account
Secure your account
- Use a strong, unique password
- Don’t share your credentials
- Log out when using shared devices
Verify your email promptly
Verify your email promptly
For email/password signups, verify your email as soon as possible to gain full access to the platform.
Troubleshooting
Didn’t receive verification email?
- Check your spam/junk folder
- Ensure you entered the correct email address
- Try signing up again with the same credentials
CAPTCHA not loading?
- Check your ad blocker settings
- Ensure JavaScript is enabled
- Try a different browser
OAuth authentication fails?
- Ensure pop-ups are allowed for the site
- Check if you’re already signed in to the OAuth provider
- Clear browser cookies and try again