RegardingWork Hub API Documentation

Centralized authentication and Single Sign-On service for the RegardingWork ecosystem

Overview

Our RESTful API enables secure authentication and user management across all RegardingWork services (Game, Premium, Display).

Base URL:
https://hub.regardingwork.com/api
Authentication:
JWT Bearer tokens (24-hour expiration)
Content-Type:
application/json
CORS:
Enabled for RegardingWork subdomains

Quick Start

Ready to integrate authentication with RegardingWork Hub?

Note: Hub uses USERNAME for login (not email)
New to RegardingWork Hub?

Get your app integrated with Hub authentication in under 2 hours.

Get Started
Having Issues?

Fix common authentication problems with step-by-step solutions.

Fix Issues
API Reference

Detailed documentation for all endpoints and OAuth flows.

View API Docs
Hub Authentication System Status: ✅ Operational

SSO domain validation fixed • OAuth token exchange working • Ready for all RegardingWork apps

Test Credentials:
janechen / jane123

Features

  • JWT Authentication (24-hour tokens)
  • Refresh token system (30-day)
  • OAuth 2.0 Authorization Code Flow
  • PKCE Security Extension
  • Single Sign-On (SSO) integration
  • User registration and management
  • Profile management endpoints
  • Secure password hashing (scrypt)
  • Cross-domain CORS support
  • Token blacklisting for security

Core API Endpoints

Authentication & User Management
Endpoint Method Description
/api/auth/register POST Register new user account
/api/auth/login POST Authenticate user and get tokens
/api/auth/logout POST Logout user and blacklist tokens
/api/auth/validate GET Validate JWT token
/api/auth/refresh POST Refresh access token
/api/auth/me GET Get current user data
OAuth 2.0 Endpoints
Endpoint Method Description
/api/oauth/authorize GET OAuth 2.0 authorization endpoint
/api/oauth/token POST Exchange authorization code for tokens
Single Sign-On (SSO)
Endpoint Method Description
/api/auth/sso/authorize GET SSO authorization endpoint
/api/auth/sso/token POST Get SSO token for authenticated user

Live API Demo

Test the API endpoints right here:

Health Check Test

Complete Documentation Index

🚀 Getting Started
🛠️ Troubleshooting
📚 API Reference
🔗 External Resources
Need Help?

Start with the Standardized Authentication Guide to choose the right method for your app, then follow the specific implementation guide.

Having issues? Check the Troubleshooting Guide for solutions to common problems.