0 people focusing right now

Authentication Moved to Hub

All login endpoints now use RegardingWork Hub

Authentication Has Moved

The Game API no longer handles authentication. All login, registration, and OAuth endpoints have been migrated to RegardingWork Hub.

Quick Start Guide

Complete authentication setup guide

View Quick Start
Login API

Complete login endpoint documentation

View Login API
OAuth Guide

Advanced OAuth integration guide

View OAuth Guide
CRITICAL: Login Requirements
❌ DO NOT USE
  • Email address for login
  • Game API login endpoints
  • Old authentication patterns
✅ REQUIRED
  • Username field only for login
  • Hub authentication endpoints
  • Hub-issued JWT tokens
For Integration: Email is only used during registration. For login, always use the username field.
Using Hub Tokens with Game API

Once you get a JWT token from Hub authentication, use it with Game API endpoints:

Example: Get User Data
curl -X GET https://game.regardingwork.com/api/user/data \
  -H "Authorization: Bearer YOUR_HUB_JWT_TOKEN"
Example: Submit Session
curl -X POST https://game.regardingwork.com/api/pomodoro/submit \
  -H "Authorization: Bearer YOUR_HUB_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ ... session data ... }'