genie-tcb-auth-integrator
CommunityEnd-to-end TCB auth with OAuth and OTP.
Authorwanyusheng63-alt
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implements a complete authentication workflow for web apps using Tencent CloudBase (TCB), combining Google OAuth via an OAuth Relay proxy, email OTP verification, and email/password sign-in to enable protected routes and seamless session management.
Core Features & Use Cases
- OAuth (Google): Sign in via Genie’s OAuth Relay proxy with a secure custom login path.
- Email OTP: Register and sign in using one-time verification codes managed by TCB native auth.
- Email + Password: Sign up and sign in with email and password, including password reset flows.
- Session & Protection: Frontend route guards and automatic session persistence through the TCB JS SDK.
- User Profile: Email, name, and avatar are stored as attributes in TCB Auth.
Quick Start
Trigger Google OAuth with signInWithGoogle or start email OTP by sending a code with sendEmailCode and then verify via signUpWithEmail or signInWithEmail, and manage sessions with getAccessToken for API requests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: genie-tcb-auth-integrator Download link: https://github.com/wanyusheng63-alt/vocab-learn/archive/main.zip#genie-tcb-auth-integrator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.