What is Strike Auth Service?
Strike Auth Service is a production-ready Go microservice that wraps Supabase Auth API with additional security, middleware, and comprehensive testing. It provides a robust authentication solution for the Strike betting platform with enterprise-grade features.Key Features
Secure Authentication
JWT-based authentication with refresh tokens and secure session management
Multiple Auth Methods
Email/password, magic links, OTP, and OAuth provider integration
Admin Operations
Comprehensive admin APIs for user management and system administration
Rate Limiting
Built-in rate limiting to protect against abuse and ensure service stability
Quick Start
Get started with the Strike Auth Service in just a few steps:1
Get Your API Keys
Obtain your service role key and project configuration from your Strike dashboard.
2
Make Your First Request
Test the service with a simple health check request.
3
Implement Authentication
Choose your preferred authentication method and integrate it into your application.
Authentication Methods
The Strike Auth Service supports multiple authentication methods to fit your application’s needs:Email & Password
Traditional email and password authentication with email verification.Magic Links
Passwordless authentication via email links for improved user experience.One-Time Passwords (OTP)
SMS-based authentication using one-time passwords.OAuth Providers
Integration with popular OAuth providers:- GitHub
- Apple
- Discord
API Overview
The API is organized into several main categories:- System: Health checks and service status
- Public: Publicly accessible endpoints like settings
- Authentication: User registration, login, and verification
- User Management: Profile management and user operations
- Admin: Administrative operations requiring elevated privileges
- OAuth: External provider authentication flows
- Debug: Development and debugging utilities